Skip to content
Prev Previous commit
Next Next commit
Add booleans
  • Loading branch information
dcherian committed Sep 24, 2024
commit 6db822534cea9061dc75a6d03862fe13ccae2d1d
3 changes: 2 additions & 1 deletion src/zarr/testing/strategies.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@

def dtypes() -> st.SearchStrategy[np.dtype]:
return (
npst.integer_dtypes(endianness="=")
npst.boolean_dtypes()
| npst.integer_dtypes(endianness="=")
| npst.unsigned_integer_dtypes(endianness="=")
| npst.floating_dtypes(endianness="=")
| npst.complex_number_dtypes(endianness="=")
Expand Down