# xarray.testing.strategies.supported_dtypes

### xarray.testing.strategies.supported_dtypes()[[source]](https://github.com/pydata/xarray/blob/main/xarray/testing/strategies.py#L50-L73)

Generates only those numpy dtypes which xarray can handle.

Use instead of hypothesis.extra.numpy.scalar_dtypes in order to exclude weirder dtypes such as unicode, byte_string, array, or nested dtypes.
Also excludes datetimes, which dodges bugs with pandas non-nanosecond datetime overflows.  Checks only native endianness.

Requires the hypothesis package to be installed.

#### SEE ALSO
[Hypothesis testing](../user-guide/testing.html.md#testing-hypothesis)
