Skip to content

Commit

Permalink
✏️ Fix reST synteax
Browse files Browse the repository at this point in the history
  • Loading branch information
veit committed May 19, 2024
1 parent 61d5b10 commit 6733294
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/modules/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ Lines 25 to 26
the filename:

.. code-block:: pycon
>>> import wc
>>> wc.words_occur()
Enter the name of the file: README.rst
Expand Down
4 changes: 2 additions & 2 deletions docs/test/pytest/builtin-fixtures.rst
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ can’t use ``function`` scope fixtures. However, we can use ``tmp_path_factory`
We can also remove two import statements because we don’t need to import
``pathlib`` or ``tempfile``.

.. tipp::
.. tip::
Do not use :ref:`tmpdir <pytest:tmpdir>` or :ref:`tmpdir_factory
<pytest:tmpdir>` as they provide :class:`py.path.local` objects, a legacy
type.
Expand Down Expand Up @@ -384,7 +384,7 @@ we can also patch the home attribute of ``pathlib.Path``:
However, *monkey patching* and *mocking* complicate testing, so we will look for
ways to avoid this whenever possible. In our case, it might be useful to set an
environment variable :envar:`ITEMS_DB_DIR` that can be easily patched:
environment variable :envvar:`ITEMS_DB_DIR` that can be easily patched:

.. code-block:: python
Expand Down

0 comments on commit 6733294

Please sign in to comment.