mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
#9424: Replace deprecated assert* methods in the Python test suite.
This commit is contained in:
parent
b8bc439b20
commit
b3aedd4862
170 changed files with 2388 additions and 2392 deletions
|
@ -118,7 +118,7 @@ class SliceTest(unittest.TestCase):
|
|||
|
||||
x = X()
|
||||
x[1:2] = 42
|
||||
self.assertEquals(tmp, [(slice(1, 2), 42)])
|
||||
self.assertEqual(tmp, [(slice(1, 2), 42)])
|
||||
|
||||
def test_pickle(self):
|
||||
s = slice(10, 20, 3)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue