diff --git a/tests/model_inheritance/tests.py b/tests/model_inheritance/tests.py index b856a07736..9b52b91d0e 100644 --- a/tests/model_inheritance/tests.py +++ b/tests/model_inheritance/tests.py @@ -233,7 +233,7 @@ class ModelInheritanceDataTests(TestCase): def test_inherited_multiple_objects_returned_exception(self): # MultipleObjectsReturned is also inherited. with self.assertRaises(Place.MultipleObjectsReturned): - Restaurant.objects.get(id__lt=12321) + Restaurant.objects.get() def test_related_objects_for_inherited_models(self): # Related objects work just as they normally do.