Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 865056b commit 5a35e56Copy full SHA for 5a35e56
h5py/tests/test_file2.py
@@ -172,6 +172,11 @@ def test_file(self):
172
finally:
173
os.remove(fname)
174
175
+ @pytest.mark.filterwarnings(
176
+ # on Windows, a resource warning may be emitted
177
+ # when this test returns
178
+ "ignore:unclosed file:ResourceWarning"
179
+ )
180
def test_TemporaryFile(self):
181
# in this test, we check explicitly that temp file gets
182
# automatically deleted upon h5py.File.close()...
pytest.ini
@@ -2,5 +2,5 @@
2
markers =
3
nonetwork: Tests to skip when no network access
4
filterwarnings =
5
- error::h5py.h5py_warnings.H5pyDeprecationWarning
+ error
6
required_plugins = pytest-mpi
0 commit comments