[1.5.x] Fixed #19903 -- Fixed unbalanced setUp/tearDown calls in LiveServerAddress test
Backport of 6d52bcbb7c from master.
This commit is contained in:
parent
b83feeea43
commit
cf114cffea
@ -96,6 +96,8 @@ class LiveServerAddress(LiveServerBase):
|
|||||||
raise Exception("The line above should have raised an exception")
|
raise Exception("The line above should have raised an exception")
|
||||||
except exception:
|
except exception:
|
||||||
pass
|
pass
|
||||||
|
finally:
|
||||||
|
super(LiveServerAddress, cls).tearDownClass()
|
||||||
|
|
||||||
def test_test_test(self):
|
def test_test_test(self):
|
||||||
# Intentionally empty method so that the test is picked up by the
|
# Intentionally empty method so that the test is picked up by the
|
||||||
|
Loading…
x
Reference in New Issue
Block a user