summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_b2.py
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1999-12-23 15:36:42 (GMT)
committerFred Drake <fdrake@acm.org>1999-12-23 15:36:42 (GMT)
commitdb1bd5c230e2ed71b95939e61a09271887b03b31 (patch)
treed663825929482bb9f166b49900bd7e0a78a4d72c /Lib/test/test_b2.py
parentb06007a3ba0dcc3bfdc50131a0729dd21882a4ea (diff)
downloadcpython-db1bd5c230e2ed71b95939e61a09271887b03b31.zip
cpython-db1bd5c230e2ed71b95939e61a09271887b03b31.tar.gz
cpython-db1bd5c230e2ed71b95939e61a09271887b03b31.tar.bz2
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 3b322a5..1aff837 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({})'