Skip to content

Commit 49d2315

Browse files
committed
typo
1 parent 3008a22 commit 49d2315

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

lib/matplotlib/tests/test_backend_qt5.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535

3636
@cleanup
37-
@pytest.mark.xfail(not HAS_QT, reason='pyq5 version 5 not installed')
37+
@pytest.mark.xfail(not HAS_QT, reason='pyqt version 5 not installed')
3838
@switch_backend('Qt5Agg')
3939
def test_fig_close():
4040
# save the state of Gcf.figs
@@ -75,87 +75,87 @@ def receive(event):
7575

7676

7777
@cleanup
78-
@pytest.mark.xfail(not HAS_QT, reason='pyq5 version 5 not installed')
78+
@pytest.mark.xfail(not HAS_QT, reason='pyqt version 5 not installed')
7979
def test_shift():
8080
assert_correct_key(QtCore.Qt.Key_A,
8181
ShiftModifier,
8282
'A')
8383

8484

8585
@cleanup
86-
@pytest.mark.xfail(not HAS_QT, reason='pyq5 version 5 not installed')
86+
@pytest.mark.xfail(not HAS_QT, reason='pyqt version 5 not installed')
8787
def test_lower():
8888
assert_correct_key(QtCore.Qt.Key_A,
8989
QtCore.Qt.NoModifier,
9090
'a')
9191

9292

9393
@cleanup
94-
@pytest.mark.xfail(not HAS_QT, reason='pyq5 version 5 not installed')
94+
@pytest.mark.xfail(not HAS_QT, reason='pyqt version 5 not installed')
9595
def test_control():
9696
assert_correct_key(QtCore.Qt.Key_A,
9797
ControlModifier,
9898
'ctrl+a')
9999

100100

101101
@cleanup
102-
@pytest.mark.xfail(not HAS_QT, reason='pyq5 version 5 not installed')
102+
@pytest.mark.xfail(not HAS_QT, reason='pyqt version 5 not installed')
103103
def test_unicode_upper():
104104
assert_correct_key(QtCore.Qt.Key_Aacute,
105105
ShiftModifier,
106106
six.unichr(193))
107107

108108

109109
@cleanup
110-
@pytest.mark.xfail(not HAS_QT, reason='pyq5 version 5 not installed')
110+
@pytest.mark.xfail(not HAS_QT, reason='pyqt version 5 not installed')
111111
def test_unicode_lower():
112112
assert_correct_key(QtCore.Qt.Key_Aacute,
113113
QtCore.Qt.NoModifier,
114114
six.unichr(225))
115115

116116

117117
@cleanup
118-
@pytest.mark.xfail(not HAS_QT, reason='pyq5 version 5 not installed')
118+
@pytest.mark.xfail(not HAS_QT, reason='pyqt version 5 not installed')
119119
def test_alt_control():
120120
assert_correct_key(ControlKey,
121121
AltModifier,
122122
'alt+control')
123123

124124

125125
@cleanup
126-
@pytest.mark.xfail(not HAS_QT, reason='pyq5 version 5 not installed')
126+
@pytest.mark.xfail(not HAS_QT, reason='pyqt version 5 not installed')
127127
def test_control_alt():
128128
assert_correct_key(AltKey,
129129
ControlModifier,
130130
'ctrl+alt')
131131

132132

133133
@cleanup
134-
@pytest.mark.xfail(not HAS_QT, reason='pyq5 version 5 not installed')
134+
@pytest.mark.xfail(not HAS_QT, reason='pyqt version 5 not installed')
135135
def test_modifier_order():
136136
assert_correct_key(QtCore.Qt.Key_Aacute,
137137
(ControlModifier | AltModifier | SuperModifier),
138138
'ctrl+alt+super+' + six.unichr(225))
139139

140140

141141
@cleanup
142-
@pytest.mark.xfail(not HAS_QT, reason='pyq5 version 5 not installed')
142+
@pytest.mark.xfail(not HAS_QT, reason='pyqt version 5 not installed')
143143
def test_backspace():
144144
assert_correct_key(QtCore.Qt.Key_Backspace,
145145
QtCore.Qt.NoModifier,
146146
'backspace')
147147

148148

149149
@cleanup
150-
@pytest.mark.xfail(not HAS_QT, reason='pyq5 version 5 not installed')
150+
@pytest.mark.xfail(not HAS_QT, reason='pyqt version 5 not installed')
151151
def test_backspace_mod():
152152
assert_correct_key(QtCore.Qt.Key_Backspace,
153153
ControlModifier,
154154
'ctrl+backspace')
155155

156156

157157
@cleanup
158-
@pytest.mark.xfail(not HAS_QT, reason='pyq5 version 5 not installed')
158+
@pytest.mark.xfail(not HAS_QT, reason='pyqt version 5 not installed')
159159
def test_non_unicode_key():
160160
assert_correct_key(QtCore.Qt.Key_Play,
161161
QtCore.Qt.NoModifier,

0 commit comments

Comments
 (0)