Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ada2f99

Browse files
committed
FIX: restore lpy compat
1 parent d0153b7 commit ada2f99

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/matplotlib/tests/test_backend_qt5.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,15 +103,15 @@ def test_control():
103103
def test_unicode_upper():
104104
assert_correct_key(QtCore.Qt.Key_Aacute,
105105
ShiftModifier,
106-
chr(193))
106+
six.unichr(193))
107107

108108

109109
@cleanup
110110
@knownfailureif(not HAS_QT)
111111
def test_unicode_lower():
112112
assert_correct_key(QtCore.Qt.Key_Aacute,
113113
QtCore.Qt.NoModifier,
114-
chr(225))
114+
six.unichr(225))
115115

116116

117117
@cleanup
@@ -135,7 +135,7 @@ def test_control_alt():
135135
def test_modifier_order():
136136
assert_correct_key(QtCore.Qt.Key_Aacute,
137137
(ControlModifier | AltModifier | SuperModifier),
138-
'ctrl+alt+super+' + chr(225))
138+
'ctrl+alt+super+' + six.unichr(225))
139139

140140

141141
@cleanup

0 commit comments

Comments
 (0)