1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00

Fixed #19903 -- Fixed unbalanced setUp/tearDown calls in LiveServerAddress test

This commit is contained in:
Claude Paroz 2013-02-25 08:56:30 +01:00
parent 87e8dfaa47
commit 6d52bcbb7c

View File

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