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

test fix

parent e922fc0d
__doc__ = u"""
>>> import re
>>> t
('2',)
(u'2',)
>>> t == re.search('(\\d+)', '-2.80 98\\n').groups()
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'
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