Skip to content

Commit

Permalink
Add quote marks so readers are not tripped up by spaces in their path…
Browse files Browse the repository at this point in the history
… names (#1393)
  • Loading branch information
bu-tegan authored and gaborbernat committed Aug 8, 2019
1 parent 1b8c98b commit f34764a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/example/pytest.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ and the following ``tox.ini`` content:
changedir = tests
deps = pytest
# change pytest tempdir and add posargs from command line
commands = pytest --basetemp={envtmpdir} {posargs}
commands = pytest --basetemp="{envtmpdir}" {posargs}
you can invoke ``tox`` in the directory where your ``tox.ini`` resides.
Differently than in the previous example the ``pytest`` command
Expand All @@ -75,7 +75,7 @@ to make ``tox`` use this feature:
deps = pytest-xdist
changedir = tests
# use three sub processes
commands = pytest --basetemp={envtmpdir} \
commands = pytest --basetemp="{envtmpdir}" \
--confcutdir=.. \
-n 3 \
{posargs}
Expand Down

0 comments on commit f34764a

Please sign in to comment.