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

Removed unused variables that are overwritten.

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

View File

@@ -426,7 +426,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),