|
15 | 15 | import neo |
16 | 16 | from neo.test.iotest.common_io_test import BaseTestIO |
17 | 17 | from neo.test.tools import assert_arrays_almost_equal |
18 | | -from neo.io.klustakwikio import KlustaKwikIO, HAVE_MLAB |
| 18 | +from neo.io.klustakwikio import KlustaKwikIO |
19 | 19 |
|
20 | 20 |
|
21 | | -@unittest.skipUnless(HAVE_MLAB, "requires matplotlib") |
22 | 21 | class testFilenameParser(unittest.TestCase): |
23 | 22 | """Tests that filenames can be loaded with or without basename. |
24 | 23 |
|
@@ -75,7 +74,6 @@ def test3(self): |
75 | 74 | 'basename2.clu.1'))) |
76 | 75 |
|
77 | 76 |
|
78 | | -@unittest.skipUnless(HAVE_MLAB, "requires matplotlib") |
79 | 77 | class testRead(unittest.TestCase): |
80 | 78 | """Tests that data can be read from KlustaKwik files""" |
81 | 79 |
|
@@ -140,7 +138,6 @@ def test2(self): |
140 | 138 | 0.228]))) |
141 | 139 |
|
142 | 140 |
|
143 | | -@unittest.skipUnless(HAVE_MLAB, "requires matplotlib") |
144 | 141 | class testWrite(unittest.TestCase): |
145 | 142 | def setUp(self): |
146 | 143 | self.dirname = os.path.join(tempfile.gettempdir(), |
@@ -249,7 +246,6 @@ def test1(self): |
249 | 246 | delete_test_session() |
250 | 247 |
|
251 | 248 |
|
252 | | -@unittest.skipUnless(HAVE_MLAB, "requires matplotlib") |
253 | 249 | class testWriteWithFeatures(unittest.TestCase): |
254 | 250 | def setUp(self): |
255 | 251 | self.dirname = os.path.join(tempfile.gettempdir(), |
@@ -333,7 +329,6 @@ def test1(self): |
333 | 329 | delete_test_session(self.dirname) |
334 | 330 |
|
335 | 331 |
|
336 | | -@unittest.skipUnless(HAVE_MLAB, "requires matplotlib") |
337 | 332 | class CommonTests(BaseTestIO, unittest.TestCase): |
338 | 333 | ioclass = KlustaKwikIO |
339 | 334 | entities_to_download = [ |
|
0 commit comments