Fix pager test pollution for parallel execution
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Use pytest's ``tmp_path`` fixture instead of a shared ``Path(tempdir) / "pager_out.txt"`` path. The ``tempfile.tempdir`` module global defaults to ``None``, so ``Path(None)`` resolves to the current directory, causing all parallel workers to race on the same file.
authored by Kevin Deldycke · committed by Kevin Deldycke · parent 04ef3a6 · Browse files · 1 file+2 added−5 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+2 added−5 removed
- tests:+2 added−5 removed