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 b5a168a commit 57f8f5dCopy full SHA for 57f8f5d
doc/en/how-to/tmp_path.rst
@@ -121,6 +121,10 @@ the system temporary directory. The base name will be ``pytest-NUM`` where
121
``NUM`` will be incremented with each test run. Moreover, entries older
122
than 3 temporary directories will be removed.
123
124
+The number of entries currently cannot be changed, but using the ``--basetemp``
125
+option will remove the directory before every run, effectively meaning the temporary directories
126
+of only the most recent run will be kept.
127
+
128
You can override the default temporary directory setting like this:
129
130
.. code-block:: bash
0 commit comments