diff options
Diffstat (limited to 'Lib/test/test_augassign.py')
-rw-r--r-- | Lib/test/test_augassign.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_augassign.py b/Lib/test/test_augassign.py index e1b6e27..3305308 100644 --- a/Lib/test/test_augassign.py +++ b/Lib/test/test_augassign.py @@ -88,7 +88,7 @@ class AugAssignTest(unittest.TestCase): y = x x += 10 - self.assertTrue(isinstance(x, aug_test)) + self.assertIsInstance(x, aug_test) self.assertTrue(y is not x) self.assertEquals(x.val, 11) @@ -103,7 +103,7 @@ class AugAssignTest(unittest.TestCase): y = x x += 10 - self.assertTrue(isinstance(x, aug_test3)) + self.assertIsInstance(x, aug_test3) self.assertTrue(y is not x) self.assertEquals(x.val, 13) |