File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -192,8 +192,13 @@ You can override the default temporary directory setting like this:
192
192
193
193
pytest --basetemp=mydir
194
194
195
- When distributing tests on the local machine, ``pytest `` takes care to
196
- configure a basetemp directory for the sub processes such that all temporary
195
+ .. warning ::
196
+
197
+ The contents of ``mydir `` will be completely removed, so make sure to use a directory
198
+ for that purpose only.
199
+
200
+ When distributing tests on the local machine using ``pytest-xdist ``, care is taken to
201
+ automatically configure a basetemp directory for the sub processes such that all temporary
197
202
data lands below a single per-test run basetemp directory.
198
203
199
204
.. _`py.path.local` : https://py.readthedocs.io/en/latest/path.html
You can’t perform that action at this time.
0 commit comments