diff options
author | Christian Tismer <tismer@stackless.com> | 2021-08-28 12:49:20 +0200 |
---|---|---|
committer | Christian Tismer <tismer@stackless.com> | 2021-08-30 22:34:19 +0200 |
commit | 9412438ebec18721e1e825e07784821c185544ae (patch) | |
tree | a9ffef36cf02ce7eed7c2c59b6758a8200307b7c /sources/pyside6/tests/QtGui | |
parent | 1a185feb6779ecdead6ae88f8f44f1d18616b37a (diff) |
PyPySide: Skip all tests which use reference counting
[ChangeLog][PySide6] Tests which use reference counting
need to be skipped in upcoming PyPy builds.
Task-number: PYSIDE-535
Change-Id: I5dca3257d3dc40f53e9b4e4a69e24c07938047c2
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'sources/pyside6/tests/QtGui')
-rw-r--r-- | sources/pyside6/tests/QtGui/bug_367.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sources/pyside6/tests/QtGui/bug_367.py b/sources/pyside6/tests/QtGui/bug_367.py index eba44105c..40c0d6936 100644 --- a/sources/pyside6/tests/QtGui/bug_367.py +++ b/sources/pyside6/tests/QtGui/bug_367.py @@ -42,6 +42,7 @@ from PySide6.QtGui import QStandardItem, QStandardItemModel class BugTest(UsesQApplication): + @unittest.skipUnless(hasattr(sys, "getrefcount"), f"{sys.implementation.name} has no refcount") def testCase(self): model = QStandardItemModel() parentItem = model.invisibleRootItem() |