File tree 1 file changed +7
-11
lines changed
1 file changed +7
-11
lines changed Original file line number Diff line number Diff line change @@ -65,17 +65,13 @@ class ListenerTest(testlib.RouterMixin, testlib.TestCase):
65
65
66
66
def test_constructor_basic (self ):
67
67
listener = self .klass .build_stream (router = self .router )
68
- capture = testlib .LogCapturer ()
69
- capture .start ()
70
- try :
71
- self .assertFalse (mitogen .unix .is_path_dead (listener .protocol .path ))
72
- os .unlink (listener .protocol .path )
73
- # ensure we catch 0 byte read error log message
74
- self .broker .shutdown ()
75
- self .broker .join ()
76
- self .broker_shutdown = True
77
- finally :
78
- capture .stop ()
68
+ self .assertFalse (mitogen .unix .is_path_dead (listener .protocol .path ))
69
+ os .unlink (listener .protocol .path )
70
+
71
+ # ensure we catch 0 byte read error log message
72
+ self .broker .shutdown ()
73
+ self .broker .join ()
74
+ self .broker_shutdown = True
79
75
80
76
81
77
class ClientTest (testlib .TestCase ):
You can’t perform that action at this time.
0 commit comments