Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
1 merge request!22Generated the test file one the fly
Pipeline #
File deleted
......@@ -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)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment