Skip to content

Commit

Permalink
Removing old unused code.
Browse files Browse the repository at this point in the history
  • Loading branch information
kenkehoe committed Jan 29, 2024
1 parent d05cca6 commit 837195b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tests/utils/test_data_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,6 @@ def test_convert_units():
data = act.utils.data_utils.convert_units(r_data, 'K', 'C')
assert np.ceil(data[0]) == 12

# try:
# ds.utils.change_units()
# except ValueError as error:
# assert str(error) == "Need to provide 'desired_unit' keyword for .change_units() method"

with np.testing.assert_raises(ValueError):
ds.utils.change_units()

Expand Down

0 comments on commit 837195b

Please sign in to comment.