Commit 0c7a2b8c by rfkelly0

--no commit message

parent c11e1f68
...@@ -43,7 +43,10 @@ class TestRPCFS(unittest.TestCase,FSTestCases,ThreadingTestCases): ...@@ -43,7 +43,10 @@ class TestRPCFS(unittest.TestCase,FSTestCases,ThreadingTestCases):
def runServer(self): def runServer(self):
"""Run the server, swallowing shutdown-related execptions.""" """Run the server, swallowing shutdown-related execptions."""
if sys.platform != "win32": if sys.platform != "win32":
self.server.socket.settimeout(0.1) try:
self.server.socket.settimeout(0.1)
except socket.error:
pass
try: try:
while self.serve_more_requests: while self.serve_more_requests:
self.server.handle_request() self.server.handle_request()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment