Skip to content

Commit

Permalink
Remove assertion on times that are no longer too far in the future.
Browse files Browse the repository at this point in the history
  • Loading branch information
TallJimbo committed Dec 30, 2020
1 parent a173f97 commit a73dc90
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions tests/test_translator.py
Original file line number Diff line number Diff line change
Expand Up @@ -681,13 +681,7 @@ def test_imsim_translator(self):
)
for filename, expected in test_data:
with self.subTest(f"Testing {filename}"):
# ImSim data are in the future and Astropy complains
# about astrometry errors.
if expected["observation_type"] == "science":
with self.assertWarns(astropy.utils.exceptions.AstropyWarning):
self.assertObservationInfoFromYaml(filename, dir=self.datadir, **expected)
else:
self.assertObservationInfoFromYaml(filename, dir=self.datadir, **expected)
self.assertObservationInfoFromYaml(filename, dir=self.datadir, **expected)

def test_ts3_translator(self):
test_data = (("ts3-E2V-CCD250-411_lambda_flat_1000_025_20181115075559.yaml",
Expand Down

0 comments on commit a73dc90

Please sign in to comment.