File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change
8000
colgroup>30
30
"pyqt" : QT_API_PYQTv2 , "pyside" : QT_API_PYSIDE ,
31
31
None : None }
32
32
# First, check if anything is already imported.
33
- if "PyQt5" in sys .modules :
33
+ if "PyQt5.QtCore " in sys .modules :
34
34
QT_API = QT_API_PYQT5
35
- elif "PySide2" in sys .modules :
35
+ elif "PySide2.QtCore " in sys .modules :
36
36
QT_API = QT_API_PYSIDE2
37
- elif "PyQt4" in sys .modules :
37
+ elif "PyQt4.QtCore " in sys .modules :
38
38
QT_API = QT_API_PYQTv2
39
- elif "PySide" in sys .modules :
39
+ elif "PySide.QtCore " in sys .modules :
40
40
QT_API = QT_API_PYSIDE
41
41
# Otherwise, check the QT_API environment variable (from Enthought). This can
42
42
# only override the binding, not the backend (in other words, we check that the
Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ python_files = test_*.py
7
7
markers =
8
8
backend: Set alternate Matplotlib backend temporarily.
9
9
style: Set alternate Matplotlib style temporarily.
10
+ baseline_images: Compare output against a known reference
11
+ pytz: Tests that require pytz to be installed
10
12
11
13
filterwarnings =
12
14
error
You can’t perform that action at this time.
0 commit comments