Skip to content

Commit

Permalink
add comment as per review
Browse files Browse the repository at this point in the history
  • Loading branch information
kmuehlbauer committed Apr 5, 2023
1 parent 5be20fa commit 334e7be
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions xarray/tests/test_backends.py
Original file line number Diff line number Diff line change
Expand Up @@ -630,6 +630,8 @@ def test_roundtrip_boolean_dtype(self) -> None:
with self.roundtrip(original) as actual:
assert_identical(original, actual)
assert actual["x"].dtype == "bool"
# this checks for preserving dtype during second roundtrip
# see https://github.com/pydata/xarray/issues/7652#issuecomment-1476956975
with self.roundtrip(actual) as actual2:
assert_identical(original, actual2)
assert actual2["x"].dtype == "bool"
Expand Down

0 comments on commit 334e7be

Please sign in to comment.