@@ -147,37 +147,37 @@ def output_hook(msg):
147
147
assert called
148
148
149
149
async def test_history (self , kc ):
150
- msg_id = await kc .history (session = 0 )
150
+ msg_id = kc .history (session = 0 )
151
151
assert isinstance (msg_id , str )
152
152
reply = await kc .history (session = 0 , reply = True , timeout = TIMEOUT )
153
153
self ._check_reply ("history" , reply )
154
154
155
155
async def test_inspect (self , kc ):
156
- msg_id = await kc .inspect ("who cares" )
156
+ msg_id = kc .inspect ("who cares" )
157
157
assert isinstance (msg_id , str )
158
158
reply = await kc .inspect ("code" , reply = True , timeout = TIMEOUT )
159
159
self ._check_reply ("inspect" , reply )
160
160
161
161
async def test_complete (self , kc ):
162
- msg_id = await kc .complete ("who cares" )
162
+ msg_id = kc .complete ("who cares" )
163
163
assert isinstance (msg_id , str )
164
164
reply = await kc .complete ("code" , reply = True , timeout = TIMEOUT )
165
165
self ._check_reply ("complete" , reply )
166
166
167
167
async def test_is_complete (self , kc ):
168
- msg_id = await kc .is_complete ("who cares" )
168
+ msg_id = kc .is_complete ("who cares" )
169
169
assert isinstance (msg_id , str )
170
170
reply = await kc .is_complete ("code" , reply = True , timeout = TIMEOUT )
171
171
self ._check_reply ("is_complete" , reply )
172
172
173
173
async def test_kernel_info (self , kc ):
174
- msg_id = await kc .kernel_info ()
174
+ msg_id = kc .kernel_info ()
175
175
assert isinstance (msg_id , str )
176
176
reply = await kc .kernel_info (reply = True , timeout = TIMEOUT )
177
177
self ._check_reply ("kernel_info" , reply )
178
178
179
179
async def test_comm_info (self , kc ):
180
- msg_id = await kc .comm_info ()
180
+ msg_id = kc .comm_info ()
181
181
assert isinstance (msg_id , str )
182
182
reply = await kc .comm_info (reply = True , timeout = TIMEOUT )
183
183
self ._check_reply ("comm_info" , reply )
@@ -187,7 +187,7 @@ async def test_shutdown(self, kc):
187
187
self ._check_reply ("shutdown" , reply )
188
188
189
189
async def test_shutdown_id (self , kc ):
190
- msg_id = await kc .shutdown ()
190
+ msg_id = kc .shutdown ()
191
191
assert isinstance (msg_id , str )
192
192
193
193
0 commit comments