[h5py] 377/455: Add entry to exceptions table fixing test error
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Thu Jul 2 18:19:52 UTC 2015
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to annotated tag 1.3.0
in repository h5py.
commit 563e70750cfda73405ef82ee15954a2855a5e308
Author: andrewcollette <andrew.collette at gmail.com>
Date: Fri Jan 29 06:10:13 2010 +0000
Add entry to exceptions table fixing test error
---
h5py/h5e.pyx | 1 +
h5py/tests/low/test_h5a.py | 1 -
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/h5py/h5e.pyx b/h5py/h5e.pyx
index 7252276..c67c4de 100644
--- a/h5py/h5e.pyx
+++ b/h5py/h5e.pyx
@@ -231,6 +231,7 @@ cdef dict _minor_table = {
H5E_BADVALUE: ValueError, # Bad value
H5E_EXISTS: ValueError, # Object already exists
+ H5E_ALREADYEXISTS: ValueError, # Object already exists, part II
H5E_CANTCONVERT: TypeError # Can't convert datatypes
}
diff --git a/h5py/tests/low/test_h5a.py b/h5py/tests/low/test_h5a.py
index faa04b3..ffa96d7 100644
--- a/h5py/tests/low/test_h5a.py
+++ b/h5py/tests/low/test_h5a.py
@@ -43,7 +43,6 @@ class TestCreate(tests.HTest):
obj_name='subgroup', lapl=lapl)
self.assert_(isattr(aid))
- @tests.fixme()
def test_exc_1(self):
""" (H5A) Existing name causes ValueError """
h5a.create(self.fid, 'name', h5t.STD_I32LE, self.sid)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/h5py.git
More information about the debian-science-commits
mailing list