skip CedRecordingExtracttest in new python platform
import unittest
+from platform import python_version
+from sys import platform
+from packaging import version
import pytest
import numpy as np
@@ -201,7 +204,10 @@ class Spike2RecordingTest(RecordingCommonTestSuite, unittest.TestCase):
('spike2/130322-1LY.smr', {'stream_id': '1'}),
]
-
+@pytest.mark.skipif(
+ version.parse(python_version()) >= version.parse("3.8"),
+ reason="Sonpy only testing with Python < 3.8!",
+)
class CedRecordingTest(RecordingCommonTestSuite, unittest.TestCase):
ExtractorClass = CedRecordingExtractor
downloads = [
