summarylogtreecommitdiffstats
path: root/pytest-5.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pytest-5.patch')
-rw-r--r--pytest-5.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/pytest-5.patch b/pytest-5.patch
new file mode 100644
index 000000000000..4cd8c7d2f5d3
--- /dev/null
+++ b/pytest-5.patch
@@ -0,0 +1,12 @@
+diff --unified --recursive --text src.orig/h5netcdf-0.7.4/h5netcdf/tests/test_h5netcdf.py src.new/h5netcdf-0.7.4/h5netcdf/tests/test_h5netcdf.py
+--- src.orig/h5netcdf-0.7.4/h5netcdf/tests/test_h5netcdf.py 2019-10-18 11:05:48.979345571 -0700
++++ src.new/h5netcdf-0.7.4/h5netcdf/tests/test_h5netcdf.py 2019-10-18 11:06:42.896526227 -0700
+@@ -36,7 +36,7 @@
+ @pytest.fixture(params=['testfile.nc', 'hdf5://testfile'])
+ def tmp_local_or_remote_netcdf(request, tmpdir):
+ if request.param.startswith(remote_h5):
+- if not pytest.config.option.restapi:
++ if not request.config.option.restapi:
+ pytest.skip('Do not test with HDF5 REST API')
+ elif without_h5pyd:
+ pytest.skip('h5pyd package not available')