Skip to content

Commit

Permalink
-fixed astropy.units.Quantity issue in ascii_reader test (strangely did
Browse files Browse the repository at this point in the history
only trigger now)
  • Loading branch information
Ulrich Noebauer committed Dec 9, 2015
1 parent 9acb06c commit acd72ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tardis/io/tests/test_ascii_readers.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,6 @@ def test_ascii_reader_density_boundaries(v_inner_boundary, v_outer_boundary, act
actual_v_inner.to(v_inner[0].unit).value)

if not np.isnan(actual_v_outer):
npt.assert_allclose(v_outer[-1],
npt.assert_allclose(v_outer[-1].value,
actual_v_outer.to(v_outer[-1].unit).value)

0 comments on commit acd72ea

Please sign in to comment.