diff options
Diffstat (limited to 'Lib/test/test_index.py')
-rw-r--r-- | Lib/test/test_index.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_index.py b/Lib/test/test_index.py index 4b4fe1b31c..79802e2b19 100644 --- a/Lib/test/test_index.py +++ b/Lib/test/test_index.py @@ -154,7 +154,7 @@ class ListTestCase(SeqTestCase): lst = [5, 6, 7, 8, 9, 11] l2 = lst.__imul__(self.n) - self.assertTrue(l2 is lst) + self.assertIs(l2, lst) self.assertEqual(lst, [5, 6, 7, 8, 9, 11] * 3) |