Commit 2aa6132b authored by Stefan Behnel's avatar Stefan Behnel

test fix

parent e922fc0d
__doc__ = u""" __doc__ = u"""
>>> import re >>> import re
>>> t >>> t
('2',) (u'2',)
>>> t == re.search('(\\d+)', '-2.80 98\\n').groups() >>> t == re.search('(\\d+)', '-2.80 98\\n').groups()
True True
""" """
import sys
if sys.version_info[0] >= 3:
__doc__ = __doc__.replace(u"(u'", u"('")
# this is a string constant test, not a test for 're' # this is a string constant test, not a test for 're'
import re import re
t = re.search('(\d+)', '-2.80 98\n').groups() t = re.search(u'(\d+)', u'-2.80 98\n').groups()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment