diff --git a/test/engine_tests/MLOPR_test.py b/test/engine_tests/MLOPR_test.py index 375a80237..0b2b2b7cc 100644 --- a/test/engine_tests/MLOPR_test.py +++ b/test/engine_tests/MLOPR_test.py @@ -12,9 +12,13 @@ from ptypy.core import Ptycho import tempfile import shutil +import pytest +import sys from ptypy.custom import MLOPR +@pytest.mark.skipif(sys.version_info > (3,12), + reason="Test broken for Python 3.12") class MLOPRTest(unittest.TestCase): def setUp(self): self.outpath = tempfile.mkdtemp(suffix="MLOPR_test")