You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
TST: test_find_invalid throws TimeoutError instead of URLError now #15321
______________________________ test_find_invalid _______________________________
@pytest.mark.remote_data(source="astropy")
def test_find_invalid():
# this is of course not a real data file and not on any remote server, but
# it should *try* to go to the remote server
with pytest.raises(urllib.error.URLError):
> get_pkg_data_filename(
"kjfrhgjklahgiulrhgiuraehgiurhgiuhreglhurieghruelighiuerahiulruli"
)
astropy/utils/tests/test_data.py:909:
...
E TimeoutError: timed out
python3.11/socket.py:706: TimeoutError
Activity
draghuram commentedon Sep 15, 2023
I just ran it on my machine as follows (in "main") and it passes for me.
Note that I started with astropy only few days back so it is possible I am missing something here.
pllim commentedon Sep 15, 2023
Thanks for checking. It could be that GitHub is blocking the CI (which ironically is also provided by GitHub), causing a different exception.