mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +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
|
@ -59,8 +59,8 @@ class GlobTests(unittest.TestCase):
|
|||
if set(type(x) for x in tmp) == uniset:
|
||||
u1 = glob.glob('*')
|
||||
u2 = glob.glob('./*')
|
||||
self.assertEquals(set(type(r) for r in u1), uniset)
|
||||
self.assertEquals(set(type(r) for r in u2), uniset)
|
||||
self.assertEqual(set(type(r) for r in u1), uniset)
|
||||
self.assertEqual(set(type(r) for r in u2), uniset)
|
||||
|
||||
def test_glob_one_directory(self):
|
||||
eq = self.assertSequencesEqual_noorder
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue