Skip to content

Commit e17ac22

Browse files
committed
Skip test_exceptions_dont_leak on Python 3.12 (#532)
1 parent f0af0e9 commit e17ac22

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

tests/test_exceptions.py

+3
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,9 @@ def event(self, ev):
365365

366366

367367
@exception_capture_pyside6
368+
@pytest.mark.skipif(
369+
sys.version_info[:2] == (3, 12), reason="#532 requires investigation"
370+
)
368371
def test_exceptions_dont_leak(testdir):
369372
"""
370373
Ensure exceptions are cleared when an exception occurs and don't leak (#187).

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ deps=
99
pyqt5: pyqt5
1010
pyqt6: pyqt6
1111
commands=
12-
pytest {posargs}
12+
pytest --color=yes {posargs}
1313
setenv=
1414
pyside6: PYTEST_QT_API=pyside6
1515
pyside2: PYTEST_QT_API=pyside2

0 commit comments

Comments
 (0)