[h5py] 304/455: Quick fix for test failures when suite run twice

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Thu Jul 2 18:19:44 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 58eda416ad711146f096dd3dd4e10daf2ddcaabf
Author: andrewcollette <andrew.collette at gmail.com>
Date:   Thu Aug 13 03:53:51 2009 +0000

    Quick fix for test failures when suite run twice
---
 h5py/tests/common.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/h5py/tests/common.py b/h5py/tests/common.py
index 1f8c87c..ca6e431 100644
--- a/h5py/tests/common.py
+++ b/h5py/tests/common.py
@@ -44,7 +44,7 @@ class ResourceManager(object):
 
     def clear(self):
         """ Wipe out all open identifiers, and unlink all generated files """
-        id_list = h5py.h5f.get_obj_ids()
+        id_list = h5py.h5f.get_obj_ids(types=h5py.h5f.OBJ_ALL^h5py.h5f.OBJ_DATATYPE)
 
         for id_ in id_list:
             while(id_ and h5py.h5i.get_ref(id_) > 0):

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