From: Mukund Sivaraman Date: Mon, 16 Apr 2012 13:18:22 +0000 (+0530) Subject: [1828] Close open handles when done using them (contd.) X-Git-Tag: trac2351_base~226^2~42^2~1^2~23 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6725498ecb8a8305608fd826116cfa09ac81a1bd;p=thirdparty%2Fkea.git [1828] Close open handles when done using them (contd.) --- diff --git a/src/bin/msgq/tests/msgq_test.py b/src/bin/msgq/tests/msgq_test.py index cc078f41e8..4059ea99ef 100644 --- a/src/bin/msgq/tests/msgq_test.py +++ b/src/bin/msgq/tests/msgq_test.py @@ -111,6 +111,7 @@ class TestSubscriptionManager(unittest.TestCase): def test_open_socket_bad(self): msgq = MsgQ("/does/not/exist") self.assertRaises(socket.error, msgq.setup) + msgq.listen_socket.close() class SendNonblock(unittest.TestCase): """