You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.5 KiB
39 lines
1.5 KiB
diff --git a/h5py/tests/test_file2.py b/h5py/tests/test_file2.py
|
|
index a0507c6..cf6b88f 100644
|
|
--- a/h5py/tests/test_file2.py
|
|
+++ b/h5py/tests/test_file2.py
|
|
@@ -197,6 +197,7 @@ class TestFileObj(TestCase):
|
|
self.assertRaises(Exception, h5py.File, self,
|
|
driver='fileobj', mode='x')
|
|
|
|
+ @ut.skip("Incompletely closed files can cause segfaults")
|
|
def test_exception_read(self):
|
|
|
|
class BrokenBytesIO(io.BytesIO):
|
|
@@ -207,6 +208,7 @@ class TestFileObj(TestCase):
|
|
f.create_dataset('test', data=list(range(12)))
|
|
self.assertRaises(Exception, list, f['test'])
|
|
|
|
+ @ut.skip("Incompletely closed files can cause segfaults")
|
|
def test_exception_write(self):
|
|
|
|
class BrokenBytesIO(io.BytesIO):
|
|
@@ -233,7 +235,7 @@ class TestFileObj(TestCase):
|
|
f = h5py.File(fileobj, 'w')
|
|
fileobj.close()
|
|
self.assertRaises(Exception, f.close)
|
|
-
|
|
+ @ut.skip("Incompletely closed files can cause segfaults")
|
|
def test_exception_writeonly(self):
|
|
# HDF5 expects read & write access to a file it's writing;
|
|
# check that we get the correct exception on a write-only file object.
|
|
@@ -243,7 +245,7 @@ class TestFileObj(TestCase):
|
|
group = f.create_group("group")
|
|
group.create_dataset("data", data='foo', dtype=h5py.string_dtype())
|
|
|
|
-
|
|
+ @ut.skip("Incompletely closed files can cause segfaults")
|
|
def test_method_vanish(self):
|
|
fileobj = io.BytesIO()
|
|
f = h5py.File(fileobj, 'w')
|