Skip to content

Commit a369b12

Browse files
Assert microseconds instead of nanoseconds
1 parent 7f2e4a4 commit a369b12

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

imod/tests/test_mf6/test_mf6_out.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ def test_open_cbc__dis_datetime(transient_twri_result):
434434
)
435435

436436
for array in cbc.values():
437-
assert array.coords["time"].dtype == np.dtype("datetime64[ns]")
437+
assert array.coords["time"].dtype == np.dtype("datetime64[us]")
438438

439439

440440
def test_open_cbc__dis_transient_unconfined(transient_unconfined_twri_result):
@@ -535,7 +535,7 @@ def test_open_cbc__disv_datetime(circle_result):
535535
)
536536

537537
for array in cbc.values():
538-
assert array.coords["time"].dtype == np.dtype("datetime64[ns]")
538+
assert array.coords["time"].dtype == np.dtype("datetime64[us]")
539539

540540

541541
def test_open_cbc__disv_sto(circle_result_sto):

imod/tests/test_mf6/test_mf6_timedis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def test_render():
2222
"""\
2323
begin options
2424
time_units days
25-
start_date_time 2000-01-01T00:00:00.000000000
25+
start_date_time 2000-01-01T00:00:00.000000
2626
end options
2727
2828
begin dimensions

0 commit comments

Comments
 (0)