@@ -1404,8 +1404,23 @@ def create_zarr_target(self):
1404
1404
yield tmp
1405
1405
1406
1406
1407
+ class ScipyWriteTest (CFEncodedDataTest , NetCDF3Only ):
1408
+
1409
+ def test_append_write (self ):
1410
+ import scipy
1411
+ if scipy .__version__ == '1.0.1' :
1412
+ pytest .xfail ('https://github.com/scipy/scipy/issues/8625' )
1413
+ super (ScipyWriteTest , self ).test_append_write ()
1414
+
1415
+ def test_append_overwrite_values (self ):
1416
+ import scipy
1417
+ if scipy .__version__ == '1.0.1' :
1418
+ pytest .xfail ('https://github.com/scipy/scipy/issues/8625' )
1419
+ super (ScipyWriteTest , self ).test_append_overwrite_values ()
1420
+
1421
+
1407
1422
@requires_scipy
1408
- class ScipyInMemoryDataTest (CFEncodedDataTest , NetCDF3Only , TestCase ):
1423
+ class ScipyInMemoryDataTest (ScipyWriteTest , TestCase ):
1409
1424
engine = 'scipy'
1410
1425
1411
1426
@contextlib .contextmanager
@@ -1431,7 +1446,7 @@ class ScipyInMemoryDataTestAutocloseTrue(ScipyInMemoryDataTest):
1431
1446
1432
1447
1433
1448
@requires_scipy
1434
- class ScipyFileObjectTest (CFEncodedDataTest , NetCDF3Only , TestCase ):
1449
+ class ScipyFileObjectTest (ScipyWriteTest , TestCase ):
1435
1450
engine = 'scipy'
1436
1451
1437
1452
@contextlib .contextmanager
@@ -1459,7 +1474,7 @@ def test_pickle_dataarray(self):
1459
1474
1460
1475
1461
1476
@requires_scipy
1462
- class ScipyFilePathTest (CFEncodedDataTest , NetCDF3Only , TestCase ):
1477
+ class ScipyFilePathTest (ScipyWriteTest , TestCase ):
1463
1478
engine = 'scipy'
1464
1479
1465
1480
@contextlib .contextmanager
@@ -2168,7 +2183,7 @@ def test_session(self):
2168
2183
2169
2184
@requires_scipy
2170
2185
@requires_pynio
2171
- class TestPyNio ( CFEncodedDataTest , NetCDF3Only , TestCase ):
2186
+ class PyNioTest ( ScipyWriteTest , TestCase ):
2172
2187
def test_write_store (self ):
2173
2188
# pynio is read-only for now
2174
2189
pass
@@ -2194,7 +2209,7 @@ def test_weakrefs(self):
2194
2209
assert_identical (actual , expected )
2195
2210
2196
2211
2197
- class TestPyNioAutocloseTrue ( TestPyNio ):
2212
+ class PyNioTestAutocloseTrue ( PyNioTest ):
2198
2213
autoclose = True
2199
2214
2200
2215
0 commit comments