python3 support for tests

This commit is contained in:
Marius Grigaitis
2014-10-22 15:17:55 +03:00
parent b4e00ea5b5
commit 4b779b830f

View File

@@ -17,11 +17,11 @@
u""" u"""
>>> from textwrap import fill >>> from textwrap import fill
>>> print ' '.join([str(i) for i in splitby3('1')]) >>> print(' '.join([str(i) for i in splitby3('1')]))
1 1
>>> print ' '.join([str(i) for i in splitby3('1123')]) >>> print(' '.join([str(i) for i in splitby3('1123')]))
1 123 1 123
>>> print ' '.join([str(i) for i in splitby3('1234567890')]) >>> print(' '.join([str(i) for i in splitby3('1234567890')]))
1 234 567 890 1 234 567 890
>>> print(' '.join([n2w(i) for i in range(10)])) >>> print(' '.join([n2w(i) for i in range(10)]))