Skip to content

Commit

Permalink
data_path run on impot
Browse files Browse the repository at this point in the history
  • Loading branch information
volodymyrss committed Dec 23, 2021
1 parent 771d921 commit 367c79a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion astroquery/utils/testing_parametrization.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,11 @@ def patch_get(request):


def have_mock_data():
return len(glob.glob(data_path("*"))) > 0
try:
return len(glob.glob(data_path("*"))) > 0
except RuntimeError:
#TODO: this is questionable
return False


parametrization_local_save_remote = pytest.mark.parametrize(
Expand Down

0 comments on commit 367c79a

Please sign in to comment.