Skip to content

Commit ffb26f6

Browse files
zoghbi-absipocz
authored andcommitted
fix style and add changelog
1 parent d026f2f commit ffb26f6

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

CHANGES.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ linelists.cdms
1414
- Add whole catalog retrieval, improve error messaging for unparseable lines,
1515
improve metadata catalog, and improve lookuptable behavior [#3173,#2901]
1616

17+
heasarc
18+
^^^^^^^
19+
20+
- Fix Heasarc.download_data for Sciserver. [#3183]
21+
1722
jplspec
1823
^^^^^^^
1924

@@ -69,7 +74,6 @@ Infrastructure, Utility and Other Changes and Additions
6974
-------------------------------------------------------
7075

7176

72-
7377
0.4.8 (2025-01-16)
7478
==================
7579

astroquery/heasarc/tests/test_heasarc.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Licensed under a 3-clause BSD style license - see LICENSE.rst
22

33
import os
4-
import shutil
54
import pytest
65
import tempfile
76
from unittest.mock import patch, PropertyMock
@@ -304,6 +303,7 @@ def test_download_data__missingcolumn(host):
304303
):
305304
Heasarc.download_data(Table({"id": [1]}), host=host)
306305

306+
307307
def test_download_data__sciserver():
308308
with tempfile.TemporaryDirectory() as tmpdir:
309309
datadir = f'{tmpdir}/data'
@@ -321,6 +321,7 @@ def test_download_data__sciserver():
321321
assert os.path.exists(f'{downloaddir}/data')
322322
assert os.path.exists(f'{downloaddir}/data/file.txt')
323323

324+
324325
def test_download_data__outside_sciserver():
325326
with pytest.raises(
326327
FileNotFoundError,

0 commit comments

Comments
 (0)