From 30c8e5daf8e0dab829fa4c12b8ec4a0679c63dd9 Mon Sep 17 00:00:00 2001 From: Ray Walker Date: Thu, 3 Sep 2026 10:33:28 +1000 Subject: [PATCH] chore(test): drop fixed --basetemp from addopts (LAB-2814) Two concurrent pytest sessions on one host can corrupt each other's temp directories due to the fixed /tmp/pytest path being deleted and recreated by each session. Pytest's default (system temp with numbered, lock-protected dirs) is collision-safe and requires no configuration. --- pyproject.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 3860e79..b552980 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -150,7 +150,6 @@ asyncio_default_fixture_loop_scope = "function" addopts = [ "--strict-markers", "--verbose", - "--basetemp=/tmp/pytest", "--doctest-modules", # Validate docstring examples "--doctest-continue-on-failure", # Report all doctest failures, not just first "--markdown-docs", # Validate markdown documentation examples