summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbu-tegan <46607894+bu-tegan@users.noreply.github.com>2019-08-08 08:55:17 -0400
committerBernát Gábor <bgabor8@bloomberg.net>2019-08-08 13:55:17 +0100
commitf34764a41268a7074fda52fcb38b8f13d792a6b1 (patch)
tree499f2a7f7d813a7da8a7017d28e257e514ae0e94
parent1b8c98b9b04c334986dcfa20aeae7d38f09574d9 (diff)
downloadtox-git-f34764a41268a7074fda52fcb38b8f13d792a6b1.tar.gz
Add quote marks so readers are not tripped up by spaces in their path names (#1393)
-rw-r--r--docs/example/pytest.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/example/pytest.rst b/docs/example/pytest.rst
index 28e4c61a..11bd046d 100644
--- a/docs/example/pytest.rst
+++ b/docs/example/pytest.rst
@@ -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
@@ -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}