diff options
Diffstat (limited to 'Lib/unittest')
-rw-r--r-- | Lib/unittest/test/test_program.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/unittest/test/test_program.py b/Lib/unittest/test/test_program.py index 8e02f3c..97d7a24 100644 --- a/Lib/unittest/test/test_program.py +++ b/Lib/unittest/test/test_program.py @@ -81,7 +81,7 @@ class Test_TestProgram(unittest.TestCase): defaultTest='unittest.test', testLoader=self.FooBarLoader()) sys.argv = old_argv - self.assertEquals(('unittest.test',), program.testNames) + self.assertEqual(('unittest.test',), program.testNames) def test_defaultTest_with_iterable(self): class FakeRunner(object): @@ -97,7 +97,7 @@ class Test_TestProgram(unittest.TestCase): defaultTest=['unittest.test', 'unittest.test2'], testLoader=self.FooBarLoader()) sys.argv = old_argv - self.assertEquals(['unittest.test', 'unittest.test2'], + self.assertEqual(['unittest.test', 'unittest.test2'], program.testNames) def test_NonExit(self): |