8000 backspace tests · matplotlib/matplotlib@60407dc · GitHub
[go: up one dir, main page]

Skip to content

Commit 60407dc

Browse files
committed
backspace tests
1 parent 16ed6e8 commit 60407dc

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

lib/matplotlib/tests/test_backend_qt4.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,3 +123,17 @@ def test_modifier_order():
123123
assert_correct_key(QtCore.Qt.Key_Aacute,
124124
(ControlModifier | AltModifier | SuperModifier),
125125
u'ctrl+alt+super+' + unichr(225))
126+
127+
@cleanup
128+
@knownfailureif(not HAS_QT)
129+
def test_backspace():
130+
assert_correct_key(QtCore.Qt.Key_Backspace,
131+
QtCore.Qt.NoModifier,
132+
u'backspace')
133+
134+
@cleanup
135+
@knownfailureif(not HAS_QT)
136+
def test_backspace():
137+
assert_correct_key(QtCore.Qt.Key_Backspace,
138+
ControlModifier,
139+
u'ctrl+backspace')

0 commit comments

Comments
 (0)
0