Skip to content

Commit

Permalink
Merge pull request #1479 from Cadair/astropy_dev_table_repr_fix
Browse files Browse the repository at this point in the history
make the queryreposonse repr test less specific.
  • Loading branch information
Cadair committed Jul 2, 2015
2 parents eb15382 + 3ece975 commit 43ef5d6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sunpy/net/tests/test_vso.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,5 +207,4 @@ def test_str():

def test_repr():
qr = QueryResponse([])
assert repr(qr) in ('<Table masked=False length=0>\nStart Time End Time Source Instrument Type \n float64 float64 float64 float64 float64\n---------- -------- ------- ---------- -------', # astropy >1.0
"<Table rows=0 names=('Start Time','End Time','Source','Instrument','Type')>\narray([], \n dtype=[('Start Time', '<f8'), ('End Time', '<f8'), ('Source', '<f8'), ('Instrument', '<f8'), ('Type', '<f8')])") # astropy 0.4.x
assert "Start Time End Time Source Instrument Type" in repr(qr)

0 comments on commit 43ef5d6

Please sign in to comment.