@@ -77,23 +77,23 @@ def receive(event):
7777def test_shift ():
7878 assert_correct_key (QtCore .Qt .Key_A ,
7979 ShiftModifier ,
80- u 'A' )
80+ 'A' )
8181
8282
8383@cleanup
8484@knownfailureif (not HAS_QT )
8585def test_lower ():
8686 assert_correct_key (QtCore .Qt .Key_A ,
8787 QtCore .Qt .NoModifier ,
88- u 'a' )
88+ 'a' )
8989
9090
9191@cleanup
9292@knownfailureif (not HAS_QT )
9393def test_control ():
9494 assert_correct_key (QtCore .Qt .Key_A ,
9595 ControlModifier ,
96- u 'ctrl+a' )
96+ 'ctrl+a' )
9797
9898
9999@cleanup
@@ -117,39 +117,39 @@ def test_unicode_lower():
117117def test_alt_control ():
118118 assert_correct_key (ControlKey ,
119119 AltModifier ,
120- u 'alt+control' )
120+ 'alt+control' )
121121
122122
123123@cleanup
124124@knownfailureif (not HAS_QT )
125125def test_control_alt ():
126126 assert_correct_key (AltKey ,
127127 ControlModifier ,
128- u 'ctrl+alt' )
128+ 'ctrl+alt' )
129129
130130
131131@cleanup
132132@knownfailureif (not HAS_QT )
133133def test_modifier_order ():
134134 assert_correct_key (QtCore .Qt .Key_Aacute ,
135135 (ControlModifier | AltModifier | SuperModifier ),
136- u 'ctrl+alt+super+' + unichr (225 ))
136+ 'ctrl+alt+super+' + unichr (225 ))
137137
138138
139139@cleanup
140140@knownfailureif (not HAS_QT )
141141def test_backspace ():
142142 assert_correct_key (QtCore .Qt .Key_Backspace ,
143143 QtCore .Qt .NoModifier ,
144- u 'backspace' )
144+ 'backspace' )
145145
146146
147147@cleanup
148148@knownfailureif (not HAS_QT )
149149def test_backspace_mod ():
150150 assert_correct_key (QtCore .Qt .Key_Backspace ,
151151 ControlModifier ,
152- u 'ctrl+backspace' )
152+ 'ctrl+backspace' )
153153
154154
155155@cleanup
0 commit comments