summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_compile.py
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2011-03-15 03:59:46 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2011-03-15 03:59:46 (GMT)
commit4969f709cc07088a40574c05724d83cddc8fafc7 (patch)
treeddb254d02f2bd0c4d9d7c141f5f95521669042a0 /Lib/test/test_compile.py
parentc48c19afe031d0a35a3d5aacddad4e113e1aeaf0 (diff)
parent42da663e6fe7ecbb89b17d596c76812a91bb99a4 (diff)
downloadcpython-4969f709cc07088a40574c05724d83cddc8fafc7.zip
cpython-4969f709cc07088a40574c05724d83cddc8fafc7.tar.gz
cpython-4969f709cc07088a40574c05724d83cddc8fafc7.tar.bz2
#11515: Merge with 3.1.
Diffstat (limited to 'Lib/test/test_compile.py')
-rw-r--r--Lib/test/test_compile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_compile.py b/Lib/test/test_compile.py
index 3325785..58ef297 100644
--- a/Lib/test/test_compile.py
+++ b/Lib/test/test_compile.py
@@ -190,7 +190,7 @@ if 1:
self.assertEqual(eval("-" + all_one_bits), -18446744073709551615)
else:
self.fail("How many bits *does* this machine have???")
- # Verify treatment of contant folding on -(sys.maxsize+1)
+ # Verify treatment of constant folding on -(sys.maxsize+1)
# i.e. -2147483648 on 32 bit platforms. Should return int, not long.
self.assertIsInstance(eval("%s" % (-sys.maxsize - 1)), int)
self.assertIsInstance(eval("%s" % (-sys.maxsize - 2)), int)