~ubuntu-branches/debian/experimental/h5py/experimental

« back to all changes in this revision

Viewing changes to h5py/tests/common.py

  • Committer: Bazaar Package Importer
  • Author(s): Soeren Sonnenburg
  • Date: 2009-09-24 11:08:03 UTC
  • mfrom: (2.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20090924110803-hz0en6f43x8opgj4
Tags: 1.2.1-2
Build-depend on hdf5 >= 1.8.3 and enable api 1.8 (Closes: #548049)

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
 
45
45
    def clear(self):
46
46
        """ Wipe out all open identifiers, and unlink all generated files """
47
 
        id_list = h5py.h5f.get_obj_ids()
 
47
        id_list = h5py.h5f.get_obj_ids(types=h5py.h5f.OBJ_ALL^h5py.h5f.OBJ_DATATYPE)
48
48
 
49
49
        for id_ in id_list:
50
50
            while(id_ and h5py.h5i.get_ref(id_) > 0):