Fix small error in r79502

This commit is contained in:
Antoine Pitrou 2010-03-30 18:58:22 +00:00
parent 6032c25063
commit 8f66efe253
1 changed files with 4 additions and 4 deletions

View File

@ -52,10 +52,10 @@ class BoolTest(unittest.TestCase):
self.assertIsNot(float(True), True) self.assertIsNot(float(True), True)
def test_long(self): def test_long(self):
self.assertEqual(int(False), 0L) self.assertEqual(long(False), 0L)
self.assertIsNot(int(False), False) self.assertIsNot(long(False), False)
self.assertEqual(int(True), 1L) self.assertEqual(long(True), 1L)
self.assertIsNot(int(True), True) self.assertIsNot(long(True), True)
def test_math(self): def test_math(self):
self.assertEqual(+False, 0) self.assertEqual(+False, 0)