Skip to content

Commit

Permalink
Remove failing test assertion that is no longer needed with astropy 5…
Browse files Browse the repository at this point in the history
….3.1.

(cherry picked from commit 9f2dbaf)
  • Loading branch information
jehturner committed Jul 10, 2023
1 parent 4e14291 commit bf96c38
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions astrodata/tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@


def test_header_for_table():
tbl = Table([[[1], [2, 3], [3, 4, 5]]], dtype=['object'])
with pytest.raises(ValueError, match=r"Illegal format `object`"):
header_for_table(tbl)

tbl = Table([np.arange(2 * 3 * 4).reshape(3, 2, 4),
[1.0, 2.0, 3.0],
['aa', 'bb', 'cc'],
Expand Down Expand Up @@ -82,4 +78,4 @@ def test_section_relations():

ss = s2.shift(100, 200)
assert ss.is_same_size(s2)
assert ss == Section(100, 1124, 200, 456)
assert ss == Section(100, 1124, 200, 456)

0 comments on commit bf96c38

Please sign in to comment.