Commit 6b2a4c6d authored by Tiago de Freitas Pereira's avatar Tiago de Freitas Pereira
Browse files

Merge branch 'issue37' into 'master'

Generated the test file one the fly

See merge request !22
parents d0ff73d0 3f9ddabc
Pipeline #12286 canceled with stages
in 1 minute and 41 seconds
......@@ -533,5 +533,14 @@ def test_python_interfaces():
def unicode_test():
filename = test_utils.datafile(u"Φîłèñäϻæ.hdf5", __name__)
# writing using unicode filename
hdf5 = HDF5File(filename, 'w')
hdf5.set('Test', range(10))
del hdf5
# writing using unicode filename
hdf5 = HDF5File(filename)
assert numpy.allclose(hdf5["Test"], range(10))
os.remove(filename)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment