Skip to content

Commit

Permalink
fix type check
Browse files Browse the repository at this point in the history
  • Loading branch information
flying-sheep authored Aug 17, 2023
1 parent 5ac9e08 commit 47c9b82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions anndata/tests/test_io_elementwise.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,10 +187,10 @@ def test_categorical_order_type(store):
write_elem(store, "ordered", cat)
write_elem(store, "unordered", cat.set_ordered(False))

assert isinstance(read_elem(store["ordered"]).ordered, bool)
assert read_elem(store["ordered"]).ordered is True
assert type(read_elem(store["ordered"]).ordered) == bool
assert isinstance(read_elem(store["unordered"]).ordered, bool)
assert read_elem(store["unordered"]).ordered is False
assert type(read_elem(store["unordered"]).ordered) == bool


def test_override_specification():
Expand Down

0 comments on commit 47c9b82

Please sign in to comment.