summaryrefslogtreecommitdiff
path: root/Lib/test/test_b2.py
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1999-12-23 15:36:42 +0000
committerFred Drake <fdrake@acm.org>1999-12-23 15:36:42 +0000
commitd8193f8bff99fe3b72fee3f0766ede21f4e6f2c3 (patch)
tree6cf119053e84efff5e9cc8bc51afc2084311e840 /Lib/test/test_b2.py
parent07eae3e4a165e0b95176425b2d147423a43ed3f8 (diff)
downloadcpython-d8193f8bff99fe3b72fee3f0766ede21f4e6f2c3.tar.gz
Revise tests to support str(<long int object>) not appending "L".
Diffstat (limited to 'Lib/test/test_b2.py')
-rw-r--r--Lib/test/test_b2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_b2.py b/Lib/test/test_b2.py
index 3b322a590d..1aff8374e1 100644
--- a/Lib/test/test_b2.py
+++ b/Lib/test/test_b2.py
@@ -209,7 +209,7 @@ if sys.spam != 1: raise TestFailed, 'setattr(sys, \'spam\', 1)'
print 'str'
if str('') <> '': raise TestFailed, 'str(\'\')'
if str(0) <> '0': raise TestFailed, 'str(0)'
-if str(0L) <> '0L': raise TestFailed, 'str(0L)'
+if str(0L) <> '0': raise TestFailed, 'str(0L)'
if str(()) <> '()': raise TestFailed, 'str(())'
if str([]) <> '[]': raise TestFailed, 'str([])'
if str({}) <> '{}': raise TestFailed, 'str({})'