Commit 3f9ddabc authored by Tiago de Freitas Pereira's avatar Tiago de Freitas Pereira
Browse files

Removed test file

Adjusted test unit
parent d0ff73d0
Pipeline #12285 passed with stages
in 9 minutes and 23 seconds
...@@ -533,5 +533,14 @@ def test_python_interfaces(): ...@@ -533,5 +533,14 @@ def test_python_interfaces():
def unicode_test(): def unicode_test():
filename = test_utils.datafile(u"Φîłèñäϻæ.hdf5", __name__) 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) hdf5 = HDF5File(filename)
assert numpy.allclose(hdf5["Test"], range(10)) 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