mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +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
|
|
@ -104,7 +104,7 @@ class msvc9compilerTestCase(support.TempdirManager,
|
|||
import winreg
|
||||
HKCU = winreg.HKEY_CURRENT_USER
|
||||
keys = Reg.read_keys(HKCU, 'xxxx')
|
||||
self.assertEquals(keys, None)
|
||||
self.assertEqual(keys, None)
|
||||
|
||||
keys = Reg.read_keys(HKCU, r'Control Panel')
|
||||
self.assertTrue('Desktop' in keys)
|
||||
|
|
@ -131,7 +131,7 @@ class msvc9compilerTestCase(support.TempdirManager,
|
|||
f.close()
|
||||
|
||||
# makes sure the manifest was properly cleaned
|
||||
self.assertEquals(content, _CLEANED_MANIFEST)
|
||||
self.assertEqual(content, _CLEANED_MANIFEST)
|
||||
|
||||
|
||||
def test_suite():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue