summaryrefslogtreecommitdiff
path: root/pint/testsuite/test_dask.py
Commit message (Collapse)AuthorAgeFilesLines
* Run refurb --python-version 3.9 in pint/testsuiteHernan Grecco2023-04-291-3/+4
|
* Fix __dask_postcompute__() to better preserve typeRyan May2023-03-081-0/+2
| | | | | | | | In Unidata/MetPy#2945, a call to dask's .compute() was causing the resulting type to be a different Quantity() variant (from pint.util rather than the parent registry), which resulted in isinstance() failing. This changes things to use the appropriate type from `self` rather than hard-coded class names.
* Fix dask fixture loop_in_thread in latest distributedJules Chéron2022-08-061-1/+7
|
* Fix cleanup fixture failingJules Chéron2022-07-141-3/+3
|
* Update testsuite to avoid a complete fail when the UnitRegistry is faultyHernan2022-02-141-35/+44
| | | | | | | Under no circunstances a registry should be instantiated in a module outside a fixture to avoid error during collection. This precludes running simple tests that do not depend on the registry.
* Fix dask testsJules Chéron2021-07-251-1/+1
|
* fix the docstringkeewis2021-05-271-1/+1
|
* also check for other typesKeewis2021-05-221-6/+17
|
* Implement deterministic hashing as part of Dask collection interfaceRussell Manser2020-08-181-0/+9
|
* Clean up docstrings; update docs; skip visualize tests with no graphvizRussell Manser2020-07-081-1/+5
|
* Add distributed tests. Separate tests for compute() and persist()Russell Manser2020-07-071-32/+96
|
* Add test for visualize(), test equivalency of compute() and persist()Russell Manser2020-07-061-2/+27
|
* Reduce redundancy in Dask array testsRussell Manser2020-07-061-62/+35
|
* Change __dask_optimize__ and __dask_scheduler__ to class propertiesRussell Manser2020-07-031-7/+29
| | | | | | Change these methods to `@property`s and have them redirect to the appropriate Dask Array methods. Tests are included. Add a test utility function for incrementing test quantities.
* Add/update tests for Dask collection interfaceRussell Manser2020-07-031-0/+108
Update downcast tests to include Dask Array. Add testing module for Dask collection interface and convenience methods.