From a50782425b8d0dbef0a84242af9a54a8eb7d1f7a Mon Sep 17 00:00:00 2001 From: Ryan Williams Date: Wed, 24 Feb 2010 14:07:58 -0500 Subject: [PATCH] Switching order of teardown makes it less bitchy about lingering listeners. --- tests/tpool_test.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/tpool_test.py b/tests/tpool_test.py index 4c9f1bb..c0b2633 100644 --- a/tests/tpool_test.py +++ b/tests/tpool_test.py @@ -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):