Skip to content

Commit

Permalink
Ignore mypy error in test arg
Browse files Browse the repository at this point in the history
  • Loading branch information
tomvothecoder committed Dec 2, 2021
1 parent 5232645 commit f91be30
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 771 deletions.
2 changes: 1 addition & 1 deletion tests/test_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -756,7 +756,7 @@ def callable(ds):
class TestSplitTimeUnitsAttr:
def test_raises_error_if_units_attr_is_none(self):
with pytest.raises(KeyError):
_split_time_units_attr(None)
_split_time_units_attr(None) # type: ignore

def test_splits_units_attr_to_unit_and_reference_date(self):
assert _split_time_units_attr("months since 1800") == ("months", "1800")
Expand Down
Loading

0 comments on commit f91be30

Please sign in to comment.