diff options
| author | Ezio Melotti <ezio.melotti@gmail.com> | 2011-03-15 03:18:48 (GMT) | 
|---|---|---|
| committer | Ezio Melotti <ezio.melotti@gmail.com> | 2011-03-15 03:18:48 (GMT) | 
| commit | 42da663e6fe7ecbb89b17d596c76812a91bb99a4 (patch) | |
| tree | f660a093d1eb0841656b9b10173589f357ec0484 /Lib/test/test_compile.py | |
| parent | f6db0bbbeefa1bde9fd09c53e7c6bf0e57481590 (diff) | |
| download | cpython-42da663e6fe7ecbb89b17d596c76812a91bb99a4.zip cpython-42da663e6fe7ecbb89b17d596c76812a91bb99a4.tar.gz cpython-42da663e6fe7ecbb89b17d596c76812a91bb99a4.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 5d1f478..749a551 100644 --- a/Lib/test/test_compile.py +++ b/Lib/test/test_compile.py @@ -177,7 +177,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.assertTrue(isinstance(eval("%s" % (-sys.maxsize - 1)), int))          self.assertTrue(isinstance(eval("%s" % (-sys.maxsize - 2)), int))  | 
