[h5py] 282/455: Fix fnames glitch in test suite
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Thu Jul 2 18:19:42 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 4905d98be6e2013b05976a4cd93f9ff9d41188b2
Author: andrewcollette <andrew.collette at gmail.com>
Date: Wed Jun 17 18:44:23 2009 +0000
Fix fnames glitch in test suite
---
h5py/tests/common.py | 2 ++
h5py/tests/test_highlevel.py | 3 ---
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/h5py/tests/common.py b/h5py/tests/common.py
index 4c88509..1f8c87c 100644
--- a/h5py/tests/common.py
+++ b/h5py/tests/common.py
@@ -60,6 +60,8 @@ class ResourceManager(object):
if op.exists(fname):
os.unlink(fname)
+ self.fnames.clear()
+
def get_data_path(self, name):
""" Return the full path to a data file (given its basename) """
return op.abspath(op.join(DATADIR, name))
diff --git a/h5py/tests/test_highlevel.py b/h5py/tests/test_highlevel.py
index 6b3ffd5..c5106c2 100644
--- a/h5py/tests/test_highlevel.py
+++ b/h5py/tests/test_highlevel.py
@@ -31,9 +31,6 @@ class SliceFreezer(object):
def __getitem__(self, args):
return args
-def skip(func):
- return None
-
TYPES1 = \
[ "<i1", "<i2", "<i4", "<i8", ">i1", ">i2", ">i4", ">i8", "|i1", "|u1",
"<u1", "<u2", "<u4", "<u8", ">u1", ">u2", ">u4", ">u8",
--
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