Switching order of teardown makes it less bitchy about lingering listeners.
This commit is contained in:
@@ -32,13 +32,11 @@ def noop():
|
|||||||
|
|
||||||
class TestTpool(LimitedTestCase):
|
class TestTpool(LimitedTestCase):
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
debug.hub_exceptions(True)
|
|
||||||
super(TestTpool, self).setUp()
|
super(TestTpool, self).setUp()
|
||||||
|
|
||||||
def tearDown(self):
|
def tearDown(self):
|
||||||
super(TestTpool, self).tearDown()
|
|
||||||
tpool.killall()
|
tpool.killall()
|
||||||
debug.hub_exceptions(False)
|
super(TestTpool, self).tearDown()
|
||||||
|
|
||||||
@skip_with_pyevent
|
@skip_with_pyevent
|
||||||
def test_wrap_tuple(self):
|
def test_wrap_tuple(self):
|
||||||
|
Reference in New Issue
Block a user