Skip to content

Commit

Permalink
Style issues
Browse files Browse the repository at this point in the history
  • Loading branch information
nqn committed May 21, 2024
1 parent 8db16fc commit 13d529a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/test_context_managers.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import contextvars
import uuid


session_id_var = contextvars.ContextVar("session_id", default=str(uuid.uuid4()))


Expand Down Expand Up @@ -84,9 +85,7 @@ async def run_session(delay=0.0, run_time=0.1):
session = await simulated_llm_acall(run_time)
assert session == session_before

await asyncio.gather(
run_session(delay=0, run_time=3), run_session(delay=1, run_time=1)
)
await asyncio.gather(run_session(delay=0, run_time=3), run_session(delay=1, run_time=1))


asyncio.run(test_overlapping_async_contexts())

0 comments on commit 13d529a

Please sign in to comment.