test_reload.py: skip for PySide6 and Python 3.9

This commit is contained in:
KIU Shueng Chuan 2021-01-16 14:10:11 +08:00
parent d0a7ceea2d
commit 9f54baed0c

View File

@ -43,8 +43,8 @@ def remove_cache(mod):
shutil.rmtree(cachedir)
@pytest.mark.skipif(
pg.Qt.QT_LIB == "PySide2"
and pg.Qt.PySide2.__version__.startswith("5.15")
((pg.Qt.QT_LIB == "PySide2" and pg.Qt.PySide2.__version__.startswith("5.15"))
or (pg.Qt.QT_LIB == "PySide6"))
and sys.version_info > (3, 9),
reason="Unknown Issue")
def test_reload():