chore: reformat

This commit is contained in:
can1357
2026-06-02 08:43:23 +02:00
parent 0bc9bc25b4
commit 2ecb5fd9fa
8 changed files with 716 additions and 198 deletions
+3 -1
View File
@@ -13,7 +13,9 @@ class _Sentinel(Exception):
def _start_and_capture(**kwargs):
client = RpcClient(**kwargs)
with patch("omp_rpc.client.subprocess.Popen", side_effect=_Sentinel("aborted")) as mock_popen:
with patch(
"omp_rpc.client.subprocess.Popen", side_effect=_Sentinel("aborted")
) as mock_popen:
with pytest.raises(_Sentinel):
client.start()
assert mock_popen.call_count == 1