Skip to content

Commit 334e7be

Browse files
committed
add comment as per review
1 parent 5be20fa commit 334e7be

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

xarray/tests/test_backends.py

+2
Original file line numberDiff line numberDiff line change
@@ -630,6 +630,8 @@ def test_roundtrip_boolean_dtype(self) -> None:
630630
with self.roundtrip(original) as actual:
631631
assert_identical(original, actual)
632632
assert actual["x"].dtype == "bool"
633+
# this checks for preserving dtype during second roundtrip
634+
# see https://github.com/pydata/xarray/issues/7652#issuecomment-1476956975
633635
with self.roundtrip(actual) as actual2:
634636
assert_identical(original, actual2)
635637
assert actual2["x"].dtype == "bool"

0 commit comments

Comments
 (0)