[h5py] 417/455: Fix DeprecationWarning in test suite
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 266e2062e86365bcebfbd0d7e22d30edde40243f
Author: andrewcollette <andrew.collette at gmail.com>
Date: Sat Feb 20 19:15:44 2010 +0000
Fix DeprecationWarning in test suite
---
h5py/tests/test_conv.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/h5py/tests/test_conv.py b/h5py/tests/test_conv.py
index cdf9f65..60fa746 100644
--- a/h5py/tests/test_conv.py
+++ b/h5py/tests/test_conv.py
@@ -7,7 +7,7 @@ from h5py import h5t
import ctypes
strings = ["Hi", "Hello", "This is a string", "HDF5 is awesome!"]
-vlen_dtype = h5t.py_new_vlen(str)
+vlen_dtype = h5t.special_dtype(vlen=str)
vlen_htype = h5t.py_create(vlen_dtype, logical=1)
obj_htype = h5t.py_create(vlen_dtype)
--
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