diff options
| author | Mads Jensen <mje@inducks.org> | 2020-08-13 13:02:38 +0200 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-08-14 11:48:04 +0200 |
| commit | 3718bc5c8d738b392cb2f1c165dd5768b4c47151 (patch) | |
| tree | f024dec7140842ed23941c1ae2e66ec34b8e4490 /django/test/testcases.py | |
| parent | b88f98738fbbdf119f4ff001e4eccf72a77d9518 (diff) | |
Removed unnecessary urlsplit() call from SimpleTestCase.assertRedirects().
Diffstat (limited to 'django/test/testcases.py')
| -rw-r--r-- | django/test/testcases.py | 1 |
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, |
