Commit d7e5c0fb authored by Stefan Behnel's avatar Stefan Behnel

Py3 test case fix

parent e0fd20ee
__doc__ = u""" import sys
if sys.version_info[0] < 3:
__doc__ = u"""
>>> s = test() >>> s = test()
>>> assert s == ''.join([chr(i) for i in range(1,49)]), repr(s) >>> assert s == ''.join(map(chr, range(1,49))), repr(s)
"""
else:
__doc__ = u"""
>>> s = test()
>>> assert s == bytes(range(1,49)), repr(s)
""" """
def test(): def test():
......
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