Skip to content

Commit

Permalink
another fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zoghbi-a committed Oct 18, 2024
1 parent 8c7160f commit 9a5ce5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions astroquery/heasarc/tests/test_heasarc.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,12 +143,12 @@ def test_no_table():
Heasarc.query_region("m31", spatial="cone", columns="*")


def test_list_tables_keywords_non_str(self):
def test_list_tables_keywords_non_str():
with pytest.raises(ValueError, match="non-str found in keywords elements"):
Heasarc.tables(keywords=12)


def test_list_tables_keywords_list_non_str(self):
def test_list_tables_keywords_list_non_str():
with pytest.raises(ValueError, match="non-str found in keywords elements"):
Heasarc.tables(keywords=['x-ray', 12])

Expand Down

0 comments on commit 9a5ce5a

Please sign in to comment.