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:
Faisal Fawad 2024-01-10 22:35:46 -05:00
parent b1c430820f
commit 1f12056804
2 changed files with 3 additions and 1 deletions

2
changelog/11790.doc.rst Normal file
View File

@ -0,0 +1,2 @@
Changed phrasing on the ``tmp_path`` documentation to more clearly
illustrate it's behavior ("test invocation" to "current test").

View File

@ -9,7 +9,7 @@ The ``tmp_path`` fixture
------------------------
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`_.
``tmp_path`` is a :class:`pathlib.Path` object. Here is an example test usage: