Slight change to tmp_path documentation to more clearly illustrate its behavior (#11800)
This commit is contained in:
parent
b1c430820f
commit
996e45d66a
|
@ -9,7 +9,7 @@ The ``tmp_path`` fixture
|
||||||
------------------------
|
------------------------
|
||||||
|
|
||||||
You can use the ``tmp_path`` fixture which will
|
You can use the ``tmp_path`` fixture which will
|
||||||
provide a temporary directory unique to the test invocation,
|
provide a temporary directory unique to the current test,
|
||||||
created in the `base temporary directory`_.
|
created in the `base temporary directory`_.
|
||||||
|
|
||||||
``tmp_path`` is a :class:`pathlib.Path` object. Here is an example test usage:
|
``tmp_path`` is a :class:`pathlib.Path` object. Here is an example test usage:
|
||||||
|
|
Loading…
Reference in New Issue