[h5py] 416/455: Remove broken tests

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Thu Jul 2 18:19:56 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 fb0d6be3b43f3dd3a1225678d5300c5caa2cd30f
Author: andrewcollette <andrew.collette at gmail.com>
Date:   Sat Feb 20 19:14:35 2010 +0000

    Remove broken tests
---
 h5py/tests/low/test_h5a.py | 7 +++----
 h5py/tests/low/test_h5i.py | 9 ---------
 2 files changed, 3 insertions(+), 13 deletions(-)

diff --git a/h5py/tests/low/test_h5a.py b/h5py/tests/low/test_h5a.py
index ffa96d7..7da9d65 100644
--- a/h5py/tests/low/test_h5a.py
+++ b/h5py/tests/low/test_h5a.py
@@ -103,10 +103,9 @@ class TestOpenExists(tests.HTest):
         """ (H5A) Open with wrong name causes KeyError """
         self.assertRaises(KeyError, h5a.open, self.fid, 'missing')
 
-    @tests.fixme()
-    def test_exc_2(self):
-        """ (H5A) Open with wrong index causes ValueError """
-        self.assertRaises(ValueError, h5a.open, self.fid, index=2)
+    #def test_exc_2(self):
+    #    """ (H5A) Open with wrong index causes ValueError """
+    #    self.assertRaises(ValueError, h5a.open, self.fid, index=2)
 
     @tests.require(api=18)
     def test_exc_3(self):
diff --git a/h5py/tests/low/test_h5i.py b/h5py/tests/low/test_h5i.py
index 78be445..3fa80f9 100644
--- a/h5py/tests/low/test_h5i.py
+++ b/h5py/tests/low/test_h5i.py
@@ -39,15 +39,6 @@ class TestName(Base):
         g._close()
         self.assertIsNone(h5i.get_name(sid))
         self.assertIsNone(h5i.get_name(g))
-    
-    @tests.fixme("Inconsistent")
-    def test_ref(self):
-        """ (H5I) get_name() returns None for dereferenced objects """
-        g = h5g.create(self.fid, '/foobar')
-        ref = h5r.create(g, '.', h5r.OBJECT)
-        g._close()
-        deref = h5r.dereference(ref, self.fid)
-        self.assertIsNone(h5i.get_name(deref))
 
 class TestFID(Base):
 

-- 
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