Commit e3b77675 authored by André Anjos's avatar André Anjos 💬

Makes sure we can load/save files with arbitrary extensions

parent 8cbe67e3
Pipeline #16693 passed with stage
in 14 minutes and 32 seconds
...@@ -101,10 +101,10 @@ def test_can_save(): ...@@ -101,10 +101,10 @@ def test_can_save():
os.unlink(tmp) os.unlink(tmp)
def test_can_save_hdf5(): def run_for_extension(ext):
machine = Machine(HEART_MACHINE) machine = Machine(HEART_MACHINE)
tmp = tempname('.hdf5') tmp = tempname(ext), 'w')), 'w'))
del machine del machine
...@@ -123,6 +123,15 @@ def test_can_save_hdf5(): ...@@ -123,6 +123,15 @@ def test_can_save_hdf5():
os.unlink(tmp) os.unlink(tmp)
def test_can_save_arbitrary():
def test_can_save_h5():
def test_can_save_hdf5():
def test_data_loading(): def test_data_loading():
#tests if I can load data in libsvm format using SVMFile #tests if I can load data in libsvm format using SVMFile
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment