diff options
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_xmlrpc_net.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_xmlrpc_net.py b/Lib/test/test_xmlrpc_net.py index a8e16f1..9ed8f8d 100644 --- a/Lib/test/test_xmlrpc_net.py +++ b/Lib/test/test_xmlrpc_net.py @@ -45,6 +45,7 @@ class CurrentTimeTest(unittest.TestCase): except socket.error as e: self.skipTest("network error: %s" % e) return + self.addCleanup(lambda: server('close')()) # Perform a minimal sanity check on the result, just to be sure # the request means what we think it means. |