We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5be20fa commit 334e7beCopy full SHA for 334e7be
xarray/tests/test_backends.py
@@ -630,6 +630,8 @@ def test_roundtrip_boolean_dtype(self) -> None:
630
with self.roundtrip(original) as actual:
631
assert_identical(original, actual)
632
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
635
with self.roundtrip(actual) as actual2:
636
assert_identical(original, actual2)
637
assert actual2["x"].dtype == "bool"
0 commit comments