Ticket #19903: 19903-1.diff

File 19903-1.diff, 581 bytes (added by Claude Paroz, 12 years ago)

Balanced setUpClass and tearDownClass

  • tests/regressiontests/servers/tests.py

    diff --git a/tests/regressiontests/servers/tests.py b/tests/regressiontests/servers/tests.py
    index 1a7552e..4495596 100644
    a b class LiveServerAddress(LiveServerBase):  
    9696            raise Exception("The line above should have raised an exception")
    9797        except exception:
    9898            pass
     99        finally:
     100            super(LiveServerAddress, cls).tearDownClass()
    99101
    100102    def test_test_test(self):
    101103        # Intentionally empty method so that the test is picked up by the
Back to Top