summaryrefslogtreecommitdiff
path: root/tests/test_msvc9compiler.py
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2010-11-20 19:04:17 +0000
committerEzio Melotti <ezio.melotti@gmail.com>2010-11-20 19:04:17 +0000
commitdf79f96e47490dedbcb676f77c426fad14df1c6f (patch)
tree8197c5c83bb18fbf4efc1dddeed1cc44ddc7647b /tests/test_msvc9compiler.py
parentbbcb611025969e9a4b8a987a7ce1528776740ae2 (diff)
downloadpython-setuptools-git-df79f96e47490dedbcb676f77c426fad14df1c6f.tar.gz
#9424: Replace deprecated assert* methods in the Python test suite.
Diffstat (limited to 'tests/test_msvc9compiler.py')
-rw-r--r--tests/test_msvc9compiler.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_msvc9compiler.py b/tests/test_msvc9compiler.py
index 45bae77a..a0d62efc 100644
--- a/tests/test_msvc9compiler.py
+++ b/tests/test_msvc9compiler.py
@@ -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():