There was an error while loading. Please reload this page.
2 parents c7c8070 + 63541a8 commit 2e46a6cCopy full SHA for 2e46a6c
1 file changed
test/test_hmf.py
@@ -33,6 +33,9 @@ def write(*args, **kwargs):
33
34
35
def test_generic_io():
36
- helpers.generic_io("test.hmf")
37
- # With additional, insignificant suffix:
38
- helpers.generic_io("test.0.hmf")
+ with pytest.warns(UserWarning):
+ helpers.generic_io("test.hmf")
+
39
40
+ # With additional, insignificant suffix:
41
+ helpers.generic_io("test.0.hmf")
0 commit comments