Skip to content

Commit

Permalink
fix: patch picologging tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cofin committed Dec 15, 2024
1 parent 4aa8e03 commit 10df3f3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@
from contextlib import AbstractContextManager, contextmanager
from typing import Any, AsyncContextManager, Awaitable, ContextManager, Generator, TypeVar, cast, overload

import picologging
try:
import picologging
except ImportError:
import logging as picologging

from _pytest.logging import LogCaptureHandler, _LiveLoggingNullHandler

from litestar._openapi.schema_generation import SchemaCreator
Expand Down

0 comments on commit 10df3f3

Please sign in to comment.