diff options
author | Fred Drake <fdrake@acm.org> | 1999-12-23 15:36:42 +0000 |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1999-12-23 15:36:42 +0000 |
commit | d8193f8bff99fe3b72fee3f0766ede21f4e6f2c3 (patch) | |
tree | 6cf119053e84efff5e9cc8bc51afc2084311e840 /Lib/test/test_b2.py | |
parent | 07eae3e4a165e0b95176425b2d147423a43ed3f8 (diff) | |
download | cpython-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.py | 2 |
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({})' |