mirror of
https://github.com/django/django.git
synced 2025-08-03 10:34:04 +00:00
Fixed #19903 -- Fixed unbalanced setUp/tearDown calls in LiveServerAddress test
This commit is contained in:
parent
87e8dfaa47
commit
6d52bcbb7c
1 changed files with 2 additions and 0 deletions
|
@ -96,6 +96,8 @@ class LiveServerAddress(LiveServerBase):
|
|||
raise Exception("The line above should have raised an exception")
|
||||
except exception:
|
||||
pass
|
||||
finally:
|
||||
super(LiveServerAddress, cls).tearDownClass()
|
||||
|
||||
def test_test_test(self):
|
||||
# Intentionally empty method so that the test is picked up by the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue