Updated tmp_path documentation
[pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci
This commit is contained in:
parent
b1c430820f
commit
1f12056804
|
@ -0,0 +1,2 @@
|
||||||
|
Changed phrasing on the ``tmp_path`` documentation to more clearly
|
||||||
|
illustrate it's behavior ("test invocation" to "current test").
|
|
@ -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