Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions doc/en/tmpdir.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ The ``tmp_path`` fixture
.. versionadded:: 3.9


You can use the ``tmpdir`` fixture which will
You can use the ``tmp_path`` fixture which will
provide a temporary directory unique to the test invocation,
created in the `base temporary directory`_.

``tmpdir`` is a ``pathlib/pathlib2.Path`` object. Here is an example test usage:
``tmp_path`` is a ``pathlib/pathlib2.Path`` object. Here is an example test usage:

.. code-block:: python

Expand Down Expand Up @@ -72,7 +72,7 @@ The ``tmp_path_factory`` fixture
The ``tmp_path_facotry`` is a session-scoped fixture which can be used
to create arbitrary temporary directories from any other fixture or test.

its intended to replace ``tmpdir_factory`` and returns :class:`pathlib.Path` instances.
It is intended to replace ``tmpdir_factory``, and returns :class:`pathlib.Path` instances.


The 'tmpdir' fixture
Expand Down