From 38086c83aca881aa72bc2eba1e6eadaa76529ed0 Mon Sep 17 00:00:00 2001 From: Adam Alton Date: Mon, 14 Mar 2016 17:59:19 +0000 Subject: [PATCH] Removed unnecessary filter kwarg from .get() in a test. --- tests/model_inheritance/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.