Skip to content

Commit 33af68c

Browse files
committed
use assertEqual() - assertEquals is deprecated
1 parent cd7ada3 commit 33af68c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

django_prometheus/tests/end2end/testapp/test_migrations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def test_counters(self):
3030
executor.migration_plan.return_value = set()
3131
executor.loader.applied_migrations = set(["a", "b", "c"])
3232
ExportMigrationsForDatabase("fakedb1", executor)
33-
self.assertEquals(executor.migration_plan.call_count, 1)
33+
self.assertEqual(executor.migration_plan.call_count, 1)
3434
executor.migration_plan = MagicMock()
3535
executor.migration_plan.return_value = set(["a"])
3636
executor.loader.applied_migrations = set(["b", "c"])

0 commit comments

Comments
 (0)