File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,9 @@ async def test_restart_after_jupyter_kill(async_sandbox: AsyncSandbox):
2525 # The command handle may get killed too (killing jupyter cascades to code-interpreter),
2626 # so we catch the error.
2727 try :
28- await async_sandbox .commands .run ("kill -9 $(pgrep -f 'jupyter server')" , user = "root" )
28+ await async_sandbox .commands .run (
29+ "kill -9 $(pgrep -f 'jupyter server')" , user = "root"
30+ )
2931 except Exception :
3032 pass
3133
@@ -43,7 +45,9 @@ async def test_restart_after_code_interpreter_kill(async_sandbox: AsyncSandbox):
4345
4446 # Kill the code-interpreter process as root
4547 try :
46- await async_sandbox .commands .run ("kill -9 $(cat /var/run/code-interpreter.pid)" , user = "root" )
48+ await async_sandbox .commands .run (
49+ "kill -9 $(cat /var/run/code-interpreter.pid)" , user = "root"
50+ )
4751 except Exception :
4852 pass
4953
You can’t perform that action at this time.
0 commit comments