Skip to content

Commit

Permalink
Skip MLOPR test for Python 3.12 and higher
Browse files Browse the repository at this point in the history
  • Loading branch information
daurer committed Jul 17, 2024
1 parent 0fbc9e0 commit 7774d97
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/engine_tests/MLOPR_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 7774d97

Please sign in to comment.