Skip to content

Commit 85513e0

Browse files
committed
for comparison test, request last month
1 parent 777172b commit 85513e0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

astroquery/heasarc/core.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ def query_region_async(self, position, mission, radius,
174174
# Submit the request
175175
return self.query_async(request_payload, cache=cache)
176176

177-
def _old_w3query_fallback(self, content: bytes):
177+
def _old_w3query_fallback(self, content):
178178
# old w3query (such as that used in ISDC) return very strange fits, with all ints
179179

180180
f = fits.open(BytesIO(content))
@@ -192,7 +192,7 @@ def _old_w3query_fallback(self, content: bytes):
192192

193193
return Table.read(I)
194194

195-
def _fallback(self, text: str):
195+
def _fallback(self, text):
196196
"""
197197
Blank columns which have to be converted to float or in fail so
198198
lets fix that by replacing with -1's

astroquery/heasarc/tests/test_heasarc_remote_isdc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def test_compare_time(self):
7979

8080
heasarc = Heasarc()
8181

82-
month_ago = (Time.now() - TimeDelta(15)).isot[:10]
82+
month_ago = (Time.now() - TimeDelta(30)).isot[:10]
8383
today = Time.now().isot[:10]
8484
T = month_ago + " .. " + today
8585

0 commit comments

Comments
 (0)