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/null_queries | |
| parent | 5f52590368063fc8284e23be492d83ba751f66bf (diff) | |
Removed unused local variables in tests.
Diffstat (limited to 'tests/null_queries')
| -rw-r--r-- | tests/null_queries/tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/null_queries/tests.py b/tests/null_queries/tests.py index d08c9979d7..0d814a3834 100644 --- a/tests/null_queries/tests.py +++ b/tests/null_queries/tests.py @@ -63,7 +63,7 @@ class NullQueriesTests(TestCase): ['<OuterA: OuterA object>'] ) - inner_obj = Inner.objects.create(first=obj) + Inner.objects.create(first=obj) self.assertQuerysetEqual( Inner.objects.filter(first__inner__third=None), ['<Inner: Inner object>'] @@ -71,7 +71,7 @@ class NullQueriesTests(TestCase): # Ticket #13815: check if <reverse>_isnull=False does not produce # faulty empty lists - objB = OuterB.objects.create(data="reverse") + OuterB.objects.create(data="reverse") self.assertQuerysetEqual( OuterB.objects.filter(inner__isnull=False), [] |
