diff --git a/tests/model_fields/test_foreignkey.py b/tests/model_fields/test_foreignkey.py index ca8eff3540..a662a6a1bf 100644 --- a/tests/model_fields/test_foreignkey.py +++ b/tests/model_fields/test_foreignkey.py @@ -165,5 +165,5 @@ class ForeignKeyTests(TestCase): class MyModel(models.Model): child = models.ForeignKey(1, models.CASCADE) - def test_manager_class_getitem(self): + def test_class_getitem(self): self.assertIs(models.ForeignKey["Foo"], models.ForeignKey)