diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2008-04-01 07:38:41 +0000 |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2008-04-01 07:38:41 +0000 |
commit | 4bf6b41fbb4ac38d58cc02a50d3f5a5d24ea5b0b (patch) | |
tree | 9b2e32f030edd8bf8a824148c2e1d17d15bfaba9 /Lib/test/test_xmlrpc_net.py | |
parent | 38a260adb788058d8522887b900ed15984dfe8ae (diff) | |
download | cpython-4bf6b41fbb4ac38d58cc02a50d3f5a5d24ea5b0b.tar.gz |
Be more forgiving if we get an error, there are lots of potential socket errors
Diffstat (limited to 'Lib/test/test_xmlrpc_net.py')
-rw-r--r-- | Lib/test/test_xmlrpc_net.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Lib/test/test_xmlrpc_net.py b/Lib/test/test_xmlrpc_net.py index 260bc240a6..e62fcb6fae 100644 --- a/Lib/test/test_xmlrpc_net.py +++ b/Lib/test/test_xmlrpc_net.py @@ -17,9 +17,7 @@ class CurrentTimeTest(unittest.TestCase): try: t0 = server.currentTime.getCurrentTime() except socket.error as e: - if e.errno != errno.ECONNRESET: - raise - print(" test_current_time: socket got reset, skipping test", + print(" test_current_time: skipping test, got error: %s" % e, file=sys.stderr) return |