diff options
| author | Ezio Melotti <ezio.melotti@gmail.com> | 2011-03-15 16:55:01 (GMT) |
|---|---|---|
| committer | Ezio Melotti <ezio.melotti@gmail.com> | 2011-03-15 16:55:01 (GMT) |
| commit | 24b07bcba350bb86c4d6ca446e1564647a199868 (patch) | |
| tree | 1815b1c49a6aec401da86b33fa81d06a0c735679 /Lib/test/test_compile.py | |
| parent | 1aa999c49ed82c89257c13cba5e210c3ba34c130 (diff) | |
| download | cpython-24b07bcba350bb86c4d6ca446e1564647a199868.zip cpython-24b07bcba350bb86c4d6ca446e1564647a199868.tar.gz cpython-24b07bcba350bb86c4d6ca446e1564647a199868.tar.bz2 | |
#11515: fix several typos. Patch by Piotr Kasprzyk.
Diffstat (limited to 'Lib/test/test_compile.py')
| -rw-r--r-- | Lib/test/test_compile.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_compile.py b/Lib/test/test_compile.py index 8a95f6d..22d1708 100644 --- a/Lib/test/test_compile.py +++ b/Lib/test/test_compile.py @@ -252,7 +252,7 @@ if 1: self.assertEqual(eval("-" + all_one_bits), -18446744073709551615L) else: self.fail("How many bits *does* this machine have???") - # Verify treatment of contant folding on -(sys.maxint+1) + # Verify treatment of constant folding on -(sys.maxint+1) # i.e. -2147483648 on 32 bit platforms. Should return int, not long. self.assertIsInstance(eval("%s" % (-sys.maxint - 1)), int) self.assertIsInstance(eval("%s" % (-sys.maxint - 2)), long) |
