gc.collect() causes segfault on pyside2, test will pass on pyqt5 bindings (did not test pyqt4 or pyside1)

This commit is contained in:
Ogi 2019-05-12 17:30:40 -07:00
parent 51b3201564
commit aa50296b9f

View File

@ -10,7 +10,6 @@ def test_isQObjectAlive():
o2 = pg.QtCore.QObject()
o2.setParent(o1)
del o1
gc.collect()
assert not pg.Qt.isQObjectAlive(o2)
@pytest.mark.skipif(pg.Qt.QT_LIB == 'PySide', reason='pysideuic does not appear to be '