summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--django/test/testcases.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/django/test/testcases.py b/django/test/testcases.py
index 5c9a5262b8..05cce99c3a 100644
--- a/django/test/testcases.py
+++ b/django/test/testcases.py
@@ -345,7 +345,6 @@ class SimpleTestCase(unittest.TestCase):
)
url, status_code = response.redirect_chain[-1]
- scheme, netloc, path, query, fragment = urlsplit(url)
self.assertEqual(
response.status_code, target_status_code,