From 11db9e2ea60e85b53cdbaf0ea48fe071ff843c38 Mon Sep 17 00:00:00 2001 From: Jacob Walls Date: Thu, 22 Jun 2023 00:32:11 -0400 Subject: [PATCH] Skip segfaulting PyQt6 test on 3.12 --- tests/brain/test_qt.py | 3 +++ 1 file changed, 3 insertions(+) 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"}