Closed
Description
jplspec failures started to show with the dev versions of numpy/astropy. I haven't yet pinpointed down the reason, maybe @keflavich you have some better ideas?
(this one copied below comes up in CI, but if you run the remote tests for the module a lot more tests fail with similar problems)
=================================== FAILURES ===================================
_______________________________ test_input_multi _______________________________
def test_input_multi():
response = JPLSpec.query_lines_async(min_frequency=500 * u.GHz,
max_frequency=1000 * u.GHz,
min_strength=-500,
molecule=r"^H[2D]O(-\d\d|)$",
parse_name_locally=True,
get_query_payload=True)
response = dict(response)
> assert set(response['Mol']) == set((18003, 19002, 19003, 20003, 21001))
E assert set() == {18003, 19002... 20003, 21001}
E Extra items in the right set:
E 20003
E 18003
E 21001
E 19002
E 19003
E Full diff:
E - {20003, 21001, 18003, 19002, 19003}
E + set()
../../.tox/py312-test-alldeps-devdeps-cov/lib/python3.12/site-packages/astroquery/jplspec/tests/test_jplspec.py:68: AssertionError