File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -78,6 +78,7 @@ def LooseVersion(vstring):
78
78
has_seaborn , requires_seaborn = _importorskip ("seaborn" )
79
79
has_sparse , requires_sparse = _importorskip ("sparse" )
80
80
has_cartopy , requires_cartopy = _importorskip ("cartopy" )
81
+ # Need Pint 0.15 for __dask_tokenize__ tests for Quantity wrapped Dask Arrays
81
82
has_pint_0_15 , requires_pint_0_15 = _importorskip ("pint" , minversion = "0.15" )
82
83
83
84
# some special cases
Original file line number Diff line number Diff line change @@ -293,6 +293,7 @@ def test_persist(self):
293
293
self .assertLazyAndAllClose (u + 1 , v )
294
294
self .assertLazyAndAllClose (u + 1 , v2 )
295
295
296
+ # Need Pint 0.15 for __dask_tokenize__ implementation
296
297
@requires_pint_0_15
297
298
def test_tokenize_duck_dask_array (self ):
298
299
import pint
@@ -732,6 +733,7 @@ def test_from_dask_variable(self):
732
733
a = DataArray (self .lazy_array .variable , coords = {"x" : range (4 )}, name = "foo" )
733
734
self .assertLazyAndIdentical (self .lazy_array , a )
734
735
736
+ # Need Pint 0.15 for __dask_tokenize__ implementation
735
737
@requires_pint_0_15
736
738
def test_tokenize_duck_dask_array (self ):
737
739
import pint
You can’t perform that action at this time.
0 commit comments