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:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user