Skip to content

Commit 301f537

Browse files
committed
test: Oops, forgot that was an override
1 parent 238f069 commit 301f537

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

tests/dispatch_test.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,6 @@ def repr_datetime(dtype: nw.Datetime) -> str:
9494
# Non-decorating registration is possible, if you really dislike names
9595
dtype_repr_code.register(nw.Duration)(lambda dtype: f"duration[{dtype.time_unit}]")
9696

97-
@dtype_repr_code.register(nw.Duration)
98-
def repr_duration(dtype: nw.Duration) -> str:
99-
return f"duration[{dtype.time_unit}]"
100-
10197
assert dtype_repr_code(nw.Datetime()) == "datetime[us]"
10298
assert dtype_repr_code(nw.Datetime("s")) == "datetime[s]"
10399
assert (

0 commit comments

Comments
 (0)