Skip to content

Commit f32fae1

Browse files
committed
change name
1 parent e0a4647 commit f32fae1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/unit/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626

2727
@pytest.fixture
28-
def patch_propagate_logger(monkeypatch: pytest.MonkeyPatch) -> Iterator[None]:
28+
def _patch_propagate_logger(monkeypatch: pytest.MonkeyPatch) -> Iterator[None]:
2929
"""Patch enabling `propagate` for the crawlee logger.
3030
3131
This is necessary for tests requiring log interception using `caplog`.
@@ -89,7 +89,7 @@ def _prepare_test_env() -> None:
8989
@pytest.fixture(autouse=True)
9090
def _isolate_test_environment(
9191
prepare_test_env: Callable[[], None],
92-
patch_propagate_logger: None, # noqa: ARG001
92+
_patch_propagate_logger: None,
9393
) -> None:
9494
"""Isolate the testing environment by resetting global state before and after each test.
9595

0 commit comments

Comments
 (0)