mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
Removed unused local variables in tests.
This commit is contained in:
parent
5f52590368
commit
96d1d4e292
72 changed files with 309 additions and 339 deletions
|
@ -117,7 +117,7 @@ class BaseMiddlewareExceptionTest(TestCase):
|
|||
|
||||
def assert_exceptions_handled(self, url, errors, extra_error=None):
|
||||
try:
|
||||
response = self.client.get(url)
|
||||
self.client.get(url)
|
||||
except TestException:
|
||||
# Test client intentionally re-raises any exceptions being raised
|
||||
# during request handling. Hence actual testing that exception was
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue