mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +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
|
@ -97,7 +97,7 @@ class TimeTestCase(unittest.TestCase):
|
|||
# based on its value.
|
||||
expected = "2000 01 01 00 00 00 1 001"
|
||||
result = time.strftime("%Y %m %d %H %M %S %w %j", (0,)*9)
|
||||
self.assertEquals(expected, result)
|
||||
self.assertEqual(expected, result)
|
||||
|
||||
def test_strptime(self):
|
||||
# Should be able to go round-trip from strftime to strptime without
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue