Skip to content

Commit 487a66e

Browse files
committed
Open fits with full path
1 parent 668a7d3 commit 487a66e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

astroquery/mast/tests/test_mast_remote.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ def test_observations_download_file_escaped(self, tmp_path):
508508
assert Path(tmp_path, filename).exists()
509509

510510
# check that downloaded file is a valid FITS file
511-
f = fits.open(filename)
511+
f = fits.open(Path(tmp_path, filename))
512512
f.close()
513513

514514
@pytest.mark.parametrize("test_data_uri, expected_cloud_uri", [

0 commit comments

Comments
 (0)