remove qtest shim for Qt5 too

not considered public API of pyqtgraph
This commit is contained in:
KIU Shueng Chuan 2021-02-05 07:30:33 +08:00
parent 711dcd4d5a
commit 62ded33222

View File

@ -213,7 +213,6 @@ elif QT_LIB == PYQT5:
QtSvg = FailedImport(err)
try:
from PyQt5 import QtTest
QtTest.QTest.qWaitForWindowShown = QtTest.QTest.qWaitForWindowExposed
except ImportError as err:
QtTest = FailedImport(err)
@ -246,7 +245,6 @@ elif QT_LIB == PYSIDE2:
QtSvg = FailedImport(err)
try:
from PySide2 import QtTest
QtTest.QTest.qWaitForWindowShown = QtTest.QTest.qWaitForWindowExposed
except ImportError as err:
QtTest = FailedImport(err)