Testing#
|
Like |
|
Like |
|
Like |
Assert that chunksizes along chunked dimensions are equal. |
Test that two DataTree
objects are similar.
Two DataTrees are considered isomorphic if the set of paths to their descendent nodes are the same. |
|
|
Like |
|
Like |
Hypothesis Testing Strategies#
See the documentation page on testing for a guide on how to use these strategies.
Warning
These strategies should be considered highly experimental, and liable to change at any time.
Generates only those numpy dtypes which xarray can handle. |
|
Generates arbitrary string names for dimensions / variables. |
|
|
Generates an arbitrary list of valid dimension names. |
|
Generates an arbitrary mapping from dimension names to lengths. |
Generates arbitrary valid attributes dictionaries for xarray objects. |
|
|
Generates arbitrary xarray.Variable objects. |
|
Return a strategy which generates a unique subset of the given objects. |