New submission from Ezio Melotti <ezio.melo...@gmail.com>: ./python -m test.regrtest -uall -v test_xmlrpc_net Could not find '/home/wolf/py3k/Lib/test' in sys.path to remove it test_xmlrpc_net test_current_time (test.test_xmlrpc_net.CurrentTimeTest) ... ERROR ====================================================================== ERROR: test_current_time (test.test_xmlrpc_net.CurrentTimeTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/wolf/py3k/Lib/test/test_xmlrpc_net.py", line 18, in test_current_time t0 = server.currentTime.getCurrentTime() File "/home/wolf/py3k/Lib/xmlrpc/client.py", line 1091, in __call__ return self.__send(self.__name, args) File "/home/wolf/py3k/Lib/xmlrpc/client.py", line 1333, in __request verbose=self.__verbose File "/home/wolf/py3k/Lib/xmlrpc/client.py", line 1127, in request dict(resp.getheaders()) xmlrpc.client.ProtocolError: <ProtocolError for time.xmlrpc.com/RPC2: 302 Found> ---------------------------------------------------------------------- Ran 1 test in 0.148s FAILED (errors=1) test test_xmlrpc_net failed -- Traceback (most recent call last): File "/home/wolf/py3k/Lib/test/test_xmlrpc_net.py", line 18, in test_current_time t0 = server.currentTime.getCurrentTime() File "/home/wolf/py3k/Lib/xmlrpc/client.py", line 1091, in __call__ return self.__send(self.__name, args) File "/home/wolf/py3k/Lib/xmlrpc/client.py", line 1333, in __request verbose=self.__verbose File "/home/wolf/py3k/Lib/xmlrpc/client.py", line 1127, in request dict(resp.getheaders()) xmlrpc.client.ProtocolError: <ProtocolError for time.xmlrpc.com/RPC2: 302 Found> 1 test failed: test_xmlrpc_net
Apparently the error was raised because: 1) time.xmlrpc.com wasn't reachable 2) the ISP (not the browser) returned a "302 Found" and an error page 3) the test expected something else and failed This is somewhat related to #3583. ---------- components: Tests messages: 87785 nosy: ezio.melotti severity: normal status: open title: test_xmlrpc_net fails when the ISP returns "302 Found" type: behavior versions: Python 3.1 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6027> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com