[h5py] 269/455: Fix Windows tests to use character in standard locale

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Thu Jul 2 18:19:40 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 3037b8e19274ba6ce40faf543a49e2619928f48d
Author: andrewcollette <andrew.collette at gmail.com>
Date:   Wed Jun 3 03:36:47 2009 +0000

    Fix Windows tests to use character in standard locale
---
 h5py/tests/test_highlevel.py | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/h5py/tests/test_highlevel.py b/h5py/tests/test_highlevel.py
index e5b4b3d..f6c5faf 100644
--- a/h5py/tests/test_highlevel.py
+++ b/h5py/tests/test_highlevel.py
@@ -61,12 +61,8 @@ class TestFile(HDF5TestCase):
         #       Store w/filesystem encoding; should be readable as Unicode
         # 2. Raw byte string in ASCII range
         #       Store w/filesystem encoding; should be read as ASCII
-        # 3. Raw byte string out of ASCII range
-        #       Store as-is; since it doesn't conform to the filesystem
-        #       encoding, just return the raw string.
-        fnames = (tempfile.mktemp(u'_\u1201.hdf5'),
-                  tempfile.mktemp('_.hdf5'),
-                  tempfile.mktemp('\xff\xff\xff.hdf5'))
+        fnames = (tempfile.mktemp(u'_\u201a.hdf5'),
+                  tempfile.mktemp('_.hdf5'))
         print ""
         for fname, typ in zip(fnames, (unicode, str, str)):
             print 'checking "%r" (%s)' % (fname, typ)

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