diff --git a/tests/model_inheritance/tests.py b/tests/model_inheritance/tests.py index 5eef0f5bfa..4252f3a301 100644 --- a/tests/model_inheritance/tests.py +++ b/tests/model_inheritance/tests.py @@ -302,7 +302,7 @@ class ModelInheritanceDataTests(TestCase): def test_related_objects_for_inherited_models(self): # Related objects work just as they normally do. s1 = Supplier.objects.create(name="Joe's Chickens", address="123 Sesame St") - s1.customers .set([self.restaurant, self.italian_restaurant]) + s1.customers.set([self.restaurant, self.italian_restaurant]) s2 = Supplier.objects.create(name="Luigi's Pasta", address="456 Sesame St") s2.customers.set([self.italian_restaurant])