From 8f66efe253e1bf179842b79c5c2b8cd35529b98a Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Tue, 30 Mar 2010 18:58:22 +0000 Subject: [PATCH] Fix small error in r79502 --- Lib/test/test_bool.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Lib/test/test_bool.py b/Lib/test/test_bool.py index 26c0d583c4a..9d58a2e7263 100644 --- a/Lib/test/test_bool.py +++ b/Lib/test/test_bool.py @@ -52,10 +52,10 @@ class BoolTest(unittest.TestCase): self.assertIsNot(float(True), True) def test_long(self): - self.assertEqual(int(False), 0L) - self.assertIsNot(int(False), False) - self.assertEqual(int(True), 1L) - self.assertIsNot(int(True), True) + self.assertEqual(long(False), 0L) + self.assertIsNot(long(False), False) + self.assertEqual(long(True), 1L) + self.assertIsNot(long(True), True) def test_math(self): self.assertEqual(+False, 0)