Skip to content

Commit e5ff569

Browse files
committed
TST: more catching of network errors
1 parent d3dd67c commit e5ff569

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pandas/util/testing.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def setUpClass(cls):
6565
def tearDownClass(cls):
6666
#print("tearing down up: {0}".format(cls))
6767
pass
68-
68+
6969
def assert_numpy_array_equal(self, np_array, assert_equal):
7070
if np.array_equal(np_array, assert_equal):
7171
return
@@ -991,6 +991,9 @@ def dec(f):
991991
'Server Hangup',
992992
'HTTP Error 503: Service Unavailable',
993993
'502: Proxy Error',
994+
'HTTP Error 502: internal error',
995+
'HTTP Error 502',
996+
'HTTP Error 503',
994997
)
995998

996999
# or this e.errno/e.reason.errno

0 commit comments

Comments
 (0)