Skip to content

Commit

Permalink
More dtypes
Browse files Browse the repository at this point in the history
  • Loading branch information
dcherian committed Apr 1, 2024
1 parent 28db1dc commit 82db283
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions tests/test_properties.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,15 @@ def supported_dtypes() -> st.SearchStrategy[np.dtype]:
npst.integer_dtypes()
| npst.unsigned_integer_dtypes()
| npst.floating_dtypes()
# | npst.complex_number_dtypes()
# | npst.datetime64_dtypes()
# | npst.timedelta64_dtypes()
| npst.complex_number_dtypes()
| npst.datetime64_dtypes()
| npst.timedelta64_dtypes()
| npst.unicode_string_dtypes()
)
).filter(lambda x: x.byteorder == "=")


dtype_st = supported_dtypes().filter(lambda x: x.byteorder == "=" and x.kind not in ["mcM"])

array_dtype_st = dtype_st.filter(lambda x: x.kind != "U")
by_dtype_st = dtype_st
array_dtype_st = supported_dtypes().filter(lambda x: x.kind != "mcMU")
by_dtype_st = supported_dtypes()
func_st = st.sampled_from([f for f in ALL_FUNCS if f not in NON_NUMPY_FUNCS])


Expand Down

0 comments on commit 82db283

Please sign in to comment.