summaryrefslogtreecommitdiff
path: root/Lib/test/test_index.py
diff options
context:
space:
mode:
authorFlorent Xicluna <florent.xicluna@gmail.com>2010-03-19 19:00:44 +0000
committerFlorent Xicluna <florent.xicluna@gmail.com>2010-03-19 19:00:44 +0000
commit9b86b9a086425c9c3a132ccad4ea8875083300c2 (patch)
tree0c463be0d181d3120984b50388f502f137922682 /Lib/test/test_index.py
parentfb60f8002c3c9a6f496fb1d3cbb1a8b11d9ba793 (diff)
downloadcpython-git-9b86b9a086425c9c3a132ccad4ea8875083300c2.tar.gz
Merged revisions 79100 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r79100 | florent.xicluna | 2010-03-19 19:34:55 +0100 (ven, 19 mar 2010) | 2 lines Various tests cleanup: check_warnings/check_py3k_warnings, unittest.assert* and setUp/tearDown. ........
Diffstat (limited to 'Lib/test/test_index.py')
-rw-r--r--Lib/test/test_index.py2
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)