@@ -147,37 +147,37 @@ def output_hook(msg):
147147 assert called
148148
149149 async def test_history (self , kc ):
150- msg_id = await kc .history (session = 0 )
150+ msg_id = kc .history (session = 0 )
151151 assert isinstance (msg_id , str )
152152 reply = await kc .history (session = 0 , reply = True , timeout = TIMEOUT )
153153 self ._check_reply ("history" , reply )
154154
155155 async def test_inspect (self , kc ):
156- msg_id = await kc .inspect ("who cares" )
156+ msg_id = kc .inspect ("who cares" )
157157 assert isinstance (msg_id , str )
158158 reply = await kc .inspect ("code" , reply = True , timeout = TIMEOUT )
159159 self ._check_reply ("inspect" , reply )
160160
161161 async def test_complete (self , kc ):
162- msg_id = await kc .complete ("who cares" )
162+ msg_id = kc .complete ("who cares" )
163163 assert isinstance (msg_id , str )
164164 reply = await kc .complete ("code" , reply = True , timeout = TIMEOUT )
165165 self ._check_reply ("complete" , reply )
166166
167167 async def test_is_complete (self , kc ):
168- msg_id = await kc .is_complete ("who cares" )
168+ msg_id = kc .is_complete ("who cares" )
169169 assert isinstance (msg_id , str )
170170 reply = await kc .is_complete ("code" , reply = True , timeout = TIMEOUT )
171171 self ._check_reply ("is_complete" , reply )
172172
173173 async def test_kernel_info (self , kc ):
174- msg_id = await kc .kernel_info ()
174+ msg_id = kc .kernel_info ()
175175 assert isinstance (msg_id , str )
176176 reply = await kc .kernel_info (reply = True , timeout = TIMEOUT )
177177 self ._check_reply ("kernel_info" , reply )
178178
179179 async def test_comm_info (self , kc ):
180- msg_id = await kc .comm_info ()
180+ msg_id = kc .comm_info ()
181181 assert isinstance (msg_id , str )
182182 reply = await kc .comm_info (reply = True , timeout = TIMEOUT )
183183 self ._check_reply ("comm_info" , reply )
@@ -187,7 +187,7 @@ async def test_shutdown(self, kc):
187187 self ._check_reply ("shutdown" , reply )
188188
189189 async def test_shutdown_id (self , kc ):
190- msg_id = await kc .shutdown ()
190+ msg_id = kc .shutdown ()
191191 assert isinstance (msg_id , str )
192192
193193
0 commit comments