@@ -77,23 +77,23 @@ def receive(event):
77
77
def test_shift ():
78
78
assert_correct_key (QtCore .Qt .Key_A ,
79
79
ShiftModifier ,
80
- u 'A' )
80
+ 'A' )
81
81
82
82
83
83
@cleanup
84
84
@knownfailureif (not HAS_QT )
85
85
def test_lower ():
86
86
assert_correct_key (QtCore .Qt .Key_A ,
87
87
QtCore .Qt .NoModifier ,
88
- u 'a' )
88
+ 'a' )
89
89
90
90
91
91
@cleanup
92
92
@knownfailureif (not HAS_QT )
93
93
def test_control ():
94
94
assert_correct_key (QtCore .Qt .Key_A ,
95
95
ControlModifier ,
96
- u 'ctrl+a' )
96
+ 'ctrl+a' )
97
97
98
98
99
99
@cleanup
@@ -117,39 +117,39 @@ def test_unicode_lower():
117
117
def test_alt_control ():
118
118
assert_correct_key (ControlKey ,
119
119
AltModifier ,
120
- u 'alt+control' )
120
+ 'alt+control' )
121
121
122
122
123
123
@cleanup
124
124
@knownfailureif (not HAS_QT )
125
125
def test_control_alt ():
126
126
assert_correct_key (AltKey ,
127
127
ControlModifier ,
128
- u 'ctrl+alt' )
128
+ 'ctrl+alt' )
129
129
130
130
131
131
@cleanup
132
132
@knownfailureif (not HAS_QT )
133
133
def test_modifier_order ():
134
134
assert_correct_key (QtCore .Qt .Key_Aacute ,
135
135
(ControlModifier | AltModifier | SuperModifier ),
136
- u 'ctrl+alt+super+' + unichr (225 ))
136
+ 'ctrl+alt+super+' + unichr (225 ))
137
137
138
138
139
139
@cleanup
140
140
@knownfailureif (not HAS_QT )
141
141
def test_backspace ():
142
142
assert_correct_key (QtCore .Qt .Key_Backspace ,
143
143
QtCore .Qt .NoModifier ,
144
- u 'backspace' )
144
+ 'backspace' )
145
145
146
146
147
147
@cleanup
148
148
@knownfailureif (not HAS_QT )
149
149
def test_backspace_mod ():
150
150
assert_correct_key (QtCore .Qt .Key_Backspace ,
151
151
ControlModifier ,
152
- u 'ctrl+backspace' )
152
+ 'ctrl+backspace' )
153
153
154
154
155
155
@cleanup
0 commit comments