Skip to content

Commit eb0b85a

Browse files
.
1 parent cd06b9c commit eb0b85a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/integrations/pydantic_ai/test_pydantic_ai.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def inner():
5757

5858
@pytest.fixture
5959
def sync_event_loop():
60-
# Pydantic AI creates an event loop and doesn't close it in synchronous methods.
60+
# Pydantic AI creates an event loop if there is none and doesn't close it in synchronous methods.
6161
# Run with "-X tracemalloc=25 -W default::ResourceWarning" to reproduce.
6262
# https://github.com/pydantic/pydantic-ai/commit/a58dd47f9cd6494665e47bf7cf71fccbfce2c0dd
6363
loop = asyncio.new_event_loop()

0 commit comments

Comments
 (0)