Switching order of teardown makes it less bitchy about lingering listeners.

This commit is contained in:
Ryan Williams
2010-02-24 14:07:58 -05:00
parent 0a8665a087
commit a50782425b

View File

@@ -32,13 +32,11 @@ def noop():
class TestTpool(LimitedTestCase):
def setUp(self):
debug.hub_exceptions(True)
super(TestTpool, self).setUp()
def tearDown(self):
super(TestTpool, self).tearDown()
tpool.killall()
debug.hub_exceptions(False)
super(TestTpool, self).tearDown()
@skip_with_pyevent
def test_wrap_tuple(self):