diff --git a/tests/brain/test_qt.py b/tests/brain/test_qt.py index 9f778355fb..bf2e129853 100644 --- a/tests/brain/test_qt.py +++ b/tests/brain/test_qt.py @@ -8,6 +8,7 @@ from astroid import Uninferable, extract_node from astroid.bases import UnboundMethod +from astroid.const import PY312_PLUS from astroid.manager import AstroidManager from astroid.nodes import FunctionDef @@ -15,6 +16,8 @@ @pytest.mark.skipif(HAS_PYQT6 is None, reason="These tests require the PyQt6 library.") +# TODO: enable for Python 3.13 (or as soon as PyQt6 release is compatible) +@pytest.mark.skipif(PY312_PLUS, reason="This test was segfaulting with Python 3.12.") class TestBrainQt: AstroidManager.brain["extension_package_whitelist"] = {"PyQt6"}