Skip to content

Commit fb7703d

Browse files
authored
tests: xfail on name resolution error in github suite (#523)
1 parent 3fd061c commit fb7703d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

upath/tests/implementations/test_github.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ def wrapper(self, *args, **kwargs):
3737
elif (
3838
"nodename nor servname provided, or not known" in str_e
3939
or "Network is unreachable" in str_e
40+
or "NameResolutionError" in str_e
4041
):
4142
pytest.xfail("No internet connection")
4243
else:

0 commit comments

Comments
 (0)