diff options
| author | Claude Paroz <claude@2xlibre.net> | 2012-05-03 16:39:16 +0200 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2012-05-03 16:39:16 +0200 |
| commit | b52672d77822e88752cb178c8a359adde83ff0ba (patch) | |
| tree | 5289bd86172caf66b0b37dfe21737b757777c8f0 /tests/regressiontests/backends/tests.py | |
| parent | e84f79f05113f546810c1908c7baef99fb1e874a (diff) | |
Replaced deprecated TestCase methods. Refs #17049.
Diffstat (limited to 'tests/regressiontests/backends/tests.py')
| -rw-r--r-- | tests/regressiontests/backends/tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
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). |
