diff options
author | Barry Warsaw <barry@python.org> | 2002-08-28 16:36:11 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2002-08-28 16:36:11 (GMT) |
commit | 266e6b1f4be03ce2c95f328e0856f5cbac3b6347 (patch) | |
tree | 2d2bc219aeb9e6adfe032087762da8fd09176fa4 /Lib/test/test_grammar.py | |
parent | ee113f08f81640e651352a222d01895c5fd8535c (diff) | |
download | cpython-266e6b1f4be03ce2c95f328e0856f5cbac3b6347.zip cpython-266e6b1f4be03ce2c95f328e0856f5cbac3b6347.tar.gz cpython-266e6b1f4be03ce2c95f328e0856f5cbac3b6347.tar.bz2 |
Quite down some FutureWarnings.
Diffstat (limited to 'Lib/test/test_grammar.py')
-rw-r--r-- | Lib/test/test_grammar.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_grammar.py b/Lib/test/test_grammar.py index c77e19e..b418cdd 100644 --- a/Lib/test/test_grammar.py +++ b/Lib/test/test_grammar.py @@ -30,10 +30,10 @@ try: except ImportError: maxint = 2147483647 if maxint == 2147483647: - if -2147483647-1 != 020000000000: raise TestFailed, 'max negative int' + if -2147483647-1 != 020000000000L: raise TestFailed, 'max negative int' # XXX -2147483648 - if 037777777777 != -1: raise TestFailed, 'oct -1' - if 0xffffffff != -1: raise TestFailed, 'hex -1' + if 037777777777L != -1: raise TestFailed, 'oct -1' + if 0xffffffffL != -1: raise TestFailed, 'hex -1' for s in '2147483648', '040000000000', '0x100000000': try: x = eval(s) |