summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpierreluctg <pierreluctg@gmail.com>2020-02-13 07:01:22 -0500
committerGitHub <noreply@github.com>2020-02-13 12:01:22 +0000
commit320b0e6ce9fdbdc6e740d678db29ab60a3e6a778 (patch)
tree744c001a7942c171516d9196ae7431d425060608
parentd85d2b47b5e9b8414671842a443fdd0c0eca1e03 (diff)
downloadtox-git-320b0e6ce9fdbdc6e740d678db29ab60a3e6a778.tar.gz
Correcting dependency and import for pytest (#1514)
* Adding correct dependency and import for pytest * fix unused import Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net> Co-authored-by: Bernát Gábor <gaborjbernat@gmail.com>
-rw-r--r--docs/example/jenkins.rst3
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/example/jenkins.rst b/docs/example/jenkins.rst
index c5ca8a8c..cdbd589d 100644
--- a/docs/example/jenkins.rst
+++ b/docs/example/jenkins.rst
@@ -98,14 +98,13 @@ Here is an example:
# change to ``doc`` dir if that is where your sphinx-docs live
changedir = doc
deps = sphinx
- py
+ pytest
commands = pytest --tb=line -v --junitxml=junit-{envname}.xml check_sphinx.py
2. create a ``doc/check_sphinx.py`` file like this:
.. code-block:: python
- import py
import subprocess