diff options
| author | wiemann <wiemann@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2006-07-04 16:56:11 +0000 |
|---|---|---|
| committer | wiemann <wiemann@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2006-07-04 16:56:11 +0000 |
| commit | c02f8cdb2ff82a700e07e3f7738ac7ed8111bb97 (patch) | |
| tree | de07fa3e32e1169562a8af1f80c63b46d9877cca /test | |
| parent | 53fefacc195031e569caaa3885ad2093c5b8961d (diff) | |
| download | docutils-c02f8cdb2ff82a700e07e3f7738ac7ed8111bb97.tar.gz | |
use integer division to make it more explicit, and for Python 3000 compatibility ;-)
(works with Py2.2+)
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4647 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'test')
| -rwxr-xr-x | test/test_parsers/test_rst/test_tables.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_parsers/test_rst/test_tables.py b/test/test_parsers/test_rst/test_tables.py index 458211103..f6428ecc0 100755 --- a/test/test_parsers/test_rst/test_tables.py +++ b/test/test_parsers/test_rst/test_tables.py @@ -568,7 +568,7 @@ No blank line after table. | to accommodate long filesystem paths.) | +------------------------------------------------------------------------------+ """) % ('\n'.join(['| %-70s |' % include2[part * 70 : (part + 1) * 70] - for part in range(len(include2) / 70 + 1)])), + for part in range(len(include2) // 70 + 1)])), """\ <document source="test data"> <table> @@ -603,7 +603,7 @@ Something afterwards. And more. """) % ('\n'.join(['| %-70s |' % include2[part * 70 : (part + 1) * 70] - for part in range(len(include2) / 70 + 1)])), + for part in range(len(include2) // 70 + 1)])), """\ <document source="test data"> <paragraph> @@ -1221,7 +1221,7 @@ Note The first row of this table may expand to accommodate long filesystem paths. ========= ===================================================================== """ % ('\n'.join([' %-65s' % include2[part * 65 : (part + 1) * 65] - for part in range(len(include2) / 65 + 1)])), + for part in range(len(include2) // 65 + 1)])), """\ <document source="test data"> <table> |
