Skip to content

Commit 1e3490f

Browse files
author
y-p
committed
DOC: document changes to @network
1 parent ea11bf3 commit 1e3490f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

pandas/util/testing.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1052,6 +1052,14 @@ def network(t, url="http://www.google.com",
10521052
error_classes : tuple or Exception
10531053
error classes to ignore. If not in ``error_classes``, raises the error.
10541054
defaults to IOError. Be careful about changing the error classes here.
1055+
skip_errnos : iterable of int
1056+
Any exception that has .errno or .reason.erno set to one
1057+
of these values will be skipped with an appropriate
1058+
message.
1059+
_skip_on_messages: iterable of string
1060+
any exception e for which one of the strings is
1061+
a substring of str(e) will be skipped with an appropriate
1062+
message. Intended to supress errors where an errno isn't available.
10551063
10561064
Notes
10571065
-----

0 commit comments

Comments
 (0)