1
0
mirror of https://github.com/django/django.git synced 2025-10-25 14:46:09 +00:00

[1.11.x] Removed unused variables that are overwritten.

Backport of ebf34c3cdc from master
This commit is contained in:
Mads Jensen
2017-01-25 15:14:05 +01:00
committed by Tim Graham
parent a69fc396e4
commit c94cb4f865
12 changed files with 4 additions and 16 deletions

View File

@@ -422,7 +422,6 @@ class ResolverTests(SimpleTestCase):
e = cm.exception
# make sure we at least matched the root ('/') url resolver:
self.assertIn('tried', e.args[0])
tried = e.args[0]['tried']
self.assertEqual(
len(e.args[0]['tried']),
len(url_types_names),