#11515: fix several typos. Patch by Piotr Kasprzyk.

This commit is contained in:
Ezio Melotti 2011-03-15 05:18:48 +02:00
parent f6db0bbbee
commit 42da663e6f
41 changed files with 1609 additions and 1608 deletions

View file

@ -177,7 +177,7 @@ def test_unary_minus(self):
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))