Skip to content

Commit 35f17c9

Browse files
committed
lint
1 parent 443c546 commit 35f17c9

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

python/tests/async/test_async_supervisord.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)