mirror of
https://github.com/python/cpython.git
synced 2025-10-17 20:28:43 +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
|
@ -149,8 +149,8 @@ class BugsTestCase(unittest.TestCase):
|
|||
|
||||
def test_version_argument(self):
|
||||
# Python 2.4.0 crashes for any call to marshal.dumps(x, y)
|
||||
self.assertEquals(marshal.loads(marshal.dumps(5, 0)), 5)
|
||||
self.assertEquals(marshal.loads(marshal.dumps(5, 1)), 5)
|
||||
self.assertEqual(marshal.loads(marshal.dumps(5, 0)), 5)
|
||||
self.assertEqual(marshal.loads(marshal.dumps(5, 1)), 5)
|
||||
|
||||
def test_fuzz(self):
|
||||
# simple test that it's at least not *totally* trivial to
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue