Commit b2774c8e authored by Xtreak's avatar Xtreak Committed by Serhiy Storchaka

Use assertEqual to fix DeprecationWarning. (GH-10794)

parent 82daa60d
......@@ -256,7 +256,7 @@ class TestClassCleanup(unittest.TestCase):
TestableTest.addClassCleanup(cleanup2)
with self.assertRaises(Exception) as e:
TestableTest.doClassCleanups()
self.assertEquals(e, 'cleanup1')
self.assertEqual(e, 'cleanup1')
def test_with_errors_addCleanUp(self):
ordering = []
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment