CHANGES: link to the PR for the git-cola-sequence-editor correction
[git-cola.git] / qtpy / QtTest.py
blobb14418f22103b574293c05e017c46bc369ab84d1
1 # -----------------------------------------------------------------------------
2 # Copyright © 2014-2015 Colin Duquesnoy
3 # Copyright © 2009- The Spyder Development Team
5 # Licensed under the terms of the MIT License
6 # (see LICENSE.txt for details)
7 # -----------------------------------------------------------------------------
9 """Provides QtTest and functions"""
11 from . import PYQT5, PYQT6, PYSIDE2, PYSIDE6
13 if PYQT5:
14 from PyQt5.QtTest import *
15 elif PYQT6:
16 from PyQt6 import QtTest
17 from PyQt6.QtTest import *
19 # Allow unscoped access for enums inside the QtTest module
20 from .enums_compat import promote_enums
22 promote_enums(QtTest)
23 del QtTest
24 elif PYSIDE2:
25 from PySide2.QtTest import *
26 elif PYSIDE6:
27 from PySide6.QtTest import *