Removed unnecessary urlsplit() call from SimpleTestCase.assertRedirects().

This commit is contained in:
Mads Jensen 2020-08-13 13:02:38 +02:00 committed by Mariusz Felisiak
parent b88f98738f
commit 3718bc5c8d
1 changed files with 0 additions and 1 deletions

View File

@ -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,