From b52672d77822e88752cb178c8a359adde83ff0ba Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Thu, 3 May 2012 16:39:16 +0200 Subject: Replaced deprecated TestCase methods. Refs #17049. --- tests/regressiontests/backends/tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/regressiontests/backends/tests.py') diff --git a/tests/regressiontests/backends/tests.py b/tests/regressiontests/backends/tests.py index 038f652698..eec817c5a2 100644 --- a/tests/regressiontests/backends/tests.py +++ b/tests/regressiontests/backends/tests.py @@ -521,7 +521,7 @@ class ThreadTests(TestCase): t = threading.Thread(target=runner) t.start() t.join() - self.assertEquals(len(connections_set), 3) + self.assertEqual(len(connections_set), 3) # Finish by closing the connections opened by the other threads (the # connection opened in the main thread will automatically be closed on # teardown). @@ -548,7 +548,7 @@ class ThreadTests(TestCase): t = threading.Thread(target=runner) t.start() t.join() - self.assertEquals(len(connections_set), 6) + self.assertEqual(len(connections_set), 6) # Finish by closing the connections opened by the other threads (the # connection opened in the main thread will automatically be closed on # teardown). -- cgit v1.3