We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e268e44 commit 77f8894Copy full SHA for 77f8894
packages/pytest-simcore/src/pytest_simcore/logging.py
@@ -10,10 +10,10 @@
10
11
12
@pytest.fixture(autouse=True)
13
-def preserve_caplog_for_async_logging(
14
- request: pytest.FixtureRequest, mocker: MockerFixture
15
-) -> None:
16
- # Patch setup_async_loggers_lifespan to preserve caplog handlers
+def preserve_caplog_for_async_logging(mocker: MockerFixture) -> None:
+ # Patch setup_async_loggers_lifespan to preserve caplog handlers,
+ # and pytest logs in general as pytest captures logs in a special way
+ # that is not compatible with the queue handler used in async logging.
17
original_setup = setup_async_loggers_lifespan
18
19
@contextmanager
0 commit comments