Skip to content

Commit 4d3edcd

Browse files
committed
check that return values can not have units
1 parent 2205297 commit 4d3edcd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pint_xarray/tests/test_expects.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ def func(a, b, c=2):
146146
(
147147
((1, 2), ("m", "s"), (ureg.Quantity(1, "m"), ureg.Quantity(2, "s"))),
148148
((1, 2), "m / s", ureg.Quantity(0.5, "m / s")),
149+
((1, 2), None, 0.5),
149150
(
150151
(xr.DataArray(2), 2),
151152
("m", "s"),

0 commit comments

Comments
 (0)