diff options
author | Fred Drake <fdrake@acm.org> | 1999-12-23 15:36:42 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1999-12-23 15:36:42 (GMT) |
commit | db1bd5c230e2ed71b95939e61a09271887b03b31 (patch) | |
tree | d663825929482bb9f166b49900bd7e0a78a4d72c /Lib/test/test_b2.py | |
parent | b06007a3ba0dcc3bfdc50131a0729dd21882a4ea (diff) | |
download | cpython-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.py | 2 |
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({})' |