remove qtest shim for Qt5 too
not considered public API of pyqtgraph
This commit is contained in:
parent
711dcd4d5a
commit
62ded33222
@ -213,7 +213,6 @@ elif QT_LIB == PYQT5:
|
|||||||
QtSvg = FailedImport(err)
|
QtSvg = FailedImport(err)
|
||||||
try:
|
try:
|
||||||
from PyQt5 import QtTest
|
from PyQt5 import QtTest
|
||||||
QtTest.QTest.qWaitForWindowShown = QtTest.QTest.qWaitForWindowExposed
|
|
||||||
except ImportError as err:
|
except ImportError as err:
|
||||||
QtTest = FailedImport(err)
|
QtTest = FailedImport(err)
|
||||||
|
|
||||||
@ -246,7 +245,6 @@ elif QT_LIB == PYSIDE2:
|
|||||||
QtSvg = FailedImport(err)
|
QtSvg = FailedImport(err)
|
||||||
try:
|
try:
|
||||||
from PySide2 import QtTest
|
from PySide2 import QtTest
|
||||||
QtTest.QTest.qWaitForWindowShown = QtTest.QTest.qWaitForWindowExposed
|
|
||||||
except ImportError as err:
|
except ImportError as err:
|
||||||
QtTest = FailedImport(err)
|
QtTest = FailedImport(err)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user