Skip to content

Commit c9f23e5

Browse files
committed
use initialize_tests on the inherited classes
1 parent 476e017 commit c9f23e5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

xarray_array_testing/tests/test_numpy.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
from xarray_array_testing.base import DuckArrayTestMixin
77
from xarray_array_testing.creation import CreationTests
8+
from xarray_array_testing.decorator import initialize_tests
89
from xarray_array_testing.reduction import ReductionTests
910

1011

@@ -26,9 +27,11 @@ def array_strategy_fn(*, shape, dtype):
2627
return create_numpy_array(shape=shape, dtype=dtype)
2728

2829

30+
@initialize_tests
2931
class TestCreationNumpy(CreationTests, NumpyTestMixin):
3032
pass
3133

3234

35+
@initialize_tests
3336
class TestReductionNumpy(ReductionTests, NumpyTestMixin):
3437
pass

0 commit comments

Comments
 (0)