We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd06b9c commit eb0b85aCopy full SHA for eb0b85a
1 file changed
tests/integrations/pydantic_ai/test_pydantic_ai.py
@@ -57,7 +57,7 @@ def inner():
57
58
@pytest.fixture
59
def sync_event_loop():
60
- # Pydantic AI creates an event loop and doesn't close it in synchronous methods.
+ # Pydantic AI creates an event loop if there is none and doesn't close it in synchronous methods.
61
# Run with "-X tracemalloc=25 -W default::ResourceWarning" to reproduce.
62
# https://github.com/pydantic/pydantic-ai/commit/a58dd47f9cd6494665e47bf7cf71fccbfce2c0dd
63
loop = asyncio.new_event_loop()
0 commit comments