Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

fix(eval): avoid mutating pytest keywords (#60296)

Catalin Irimie64545845c8f4
diff --git a/ee/hogai/eval/sandboxed/conftest.py b/ee/hogai/eval/sandboxed/conftest.py
index acf60c3e0aef..6972992230f2 100644
--- a/ee/hogai/eval/sandboxed/conftest.py
+++ b/ee/hogai/eval/sandboxed/conftest.py
@@ -71,7 +71,6 @@ def pytest_collection_modifyitems(config, items): # noqa: ARG001
if own_markers is not None:
node.own_markers = [marker for marker in own_markers if marker.name != "django_db"]
node = node.parent
- item.keywords.pop("django_db", None)
@pytest.fixture(scope="session")