Skip to content

Commit fb7703d

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

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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)