diff options
| author | Tim Graham <timograham@gmail.com> | 2013-10-19 08:31:38 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2013-10-19 08:31:38 -0400 |
| commit | 96d1d4e29275f4f5900f0725975d2ad0a4d05816 (patch) | |
| tree | 17b846e3b77f68fbb3b1dc7a2ff413f574c62ce1 /tests/model_inheritance_select_related/tests.py | |
| parent | 5f52590368063fc8284e23be492d83ba751f66bf (diff) | |
Removed unused local variables in tests.
Diffstat (limited to 'tests/model_inheritance_select_related/tests.py')
| -rw-r--r-- | tests/model_inheritance_select_related/tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/model_inheritance_select_related/tests.py b/tests/model_inheritance_select_related/tests.py index 68f9897e25..195ccc80ec 100644 --- a/tests/model_inheritance_select_related/tests.py +++ b/tests/model_inheritance_select_related/tests.py @@ -16,8 +16,8 @@ class ModelInheritanceSelectRelatedTests(TestCase): r2 = Restaurant.objects.create( name="Craft", serves_sushi=False, serves_steak=True ) - p1 = Person.objects.create(name="John", favorite_restaurant=r1) - p2 = Person.objects.create(name="Jane", favorite_restaurant=r2) + Person.objects.create(name="John", favorite_restaurant=r1) + Person.objects.create(name="Jane", favorite_restaurant=r2) self.assertQuerysetEqual( Person.objects.order_by("name").select_related(), [ |
