diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2010-11-21 13:34:58 +0000 |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2010-11-21 13:34:58 +0000 |
commit | 72be5e3b5ddf2e201c82d1c89c59ad1fd8a6b256 (patch) | |
tree | 5154b01c2e36cf6154149a933c08d89eb6b7c2f7 /Lib/test/test_array.py | |
parent | d18ddc2477c3320f69bea6a86db6e8fbb4bc44b9 (diff) | |
download | cpython-72be5e3b5ddf2e201c82d1c89c59ad1fd8a6b256.tar.gz |
Merged revisions 86596 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r86596 | ezio.melotti | 2010-11-20 21:04:17 +0200 (Sat, 20 Nov 2010) | 1 line
#9424: Replace deprecated assert* methods in the Python test suite.
........
Diffstat (limited to 'Lib/test/test_array.py')
-rwxr-xr-x | Lib/test/test_array.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_array.py b/Lib/test/test_array.py index a4aeccf695..4d56f54559 100755 --- a/Lib/test/test_array.py +++ b/Lib/test/test_array.py @@ -628,11 +628,11 @@ class BaseTest(unittest.TestCase): data.reverse() L[start:stop:step] = data a[start:stop:step] = array.array(self.typecode, data) - self.assertEquals(a, array.array(self.typecode, L)) + self.assertEqual(a, array.array(self.typecode, L)) del L[start:stop:step] del a[start:stop:step] - self.assertEquals(a, array.array(self.typecode, L)) + self.assertEqual(a, array.array(self.typecode, L)) def test_index(self): example = 2*self.example |