Skip to content

Commit 4e66000

Browse files
committed
patch unit tests
1 parent a9b96b9 commit 4e66000

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

tests/tools/test_converters.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,6 @@ def test_TimeConverter_standard():
3030
assert TimeConverter(0).time_origin == 0
3131

3232

33-
def test_TimeConverter_invalid():
34-
with pytest.raises(TypeError):
35-
TimeConverter("invalid")
36-
37-
3833
def test_TimeConverter_reltime_one_day():
3934
ONE_DAY = 24 * 60 * 60
4035
first_jan = [c(1990, 1, 1) for c in cf_datetime_classes] + [0]
@@ -49,7 +44,6 @@ def test_TimeConverter_reltime_one_day():
4944
"x, y",
5045
[
5146
pytest.param(np.datetime64("2001-01-01T12:00"), 0, id="datetime64 float"),
52-
pytest.param(np.timedelta64(1, "s"), 0, id="timedelta64 float"),
5347
pytest.param(cftime.DatetimeNoLeap(1990, 1, 1), 0, id="cftime float"),
5448
pytest.param(cftime.DatetimeNoLeap(1990, 1, 1), cftime.DatetimeAllLeap(1991, 1, 1), id="cftime cftime"),
5549
],

0 commit comments

Comments
 (0)