Skip to content

Commit

Permalink
fix missing .magnitude
Browse files Browse the repository at this point in the history
  • Loading branch information
nvaytet committed Apr 13, 2023
1 parent 3c2aabd commit e7d5131
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_fileio/test_orso.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,8 @@ def test_save_numpy_scalar_dtypes(self):
fileio.save_orso([ds], "test_numpy.ort")
ls = fileio.load_orso("test_numpy.ort")
i_s = ls[0].info.data_source.measurement.instrument_settings
assert i_s.wavelength == 10.0
assert i_s.incident_angle == 2
assert i_s.wavelength.magnitude == 10.0
assert i_s.incident_angle.magnitude == 2


class TestFunctions(unittest.TestCase):
Expand Down

0 comments on commit e7d5131

Please sign in to comment.