[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
47c202eee1
commit
35eb80c8c4
1 changed files with 3 additions and 1 deletions
|
|
@ -2054,7 +2054,9 @@ def test_begin_generate_preempts_running_prewarm(fake_runtime, monkeypatch):
|
|||
monkeypatch.setattr(pipe.__class__, "__call__", _blocking_call)
|
||||
|
||||
prewarm = _threading.Thread(
|
||||
target = backend._compile_prewarm, args = (backend._load_token,), daemon = True,
|
||||
target = backend._compile_prewarm,
|
||||
args = (backend._load_token,),
|
||||
daemon = True,
|
||||
)
|
||||
prewarm.start()
|
||||
assert prewarm_entered.wait(timeout = 5), "prewarm never reached the pipe"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue