summaryrefslogtreecommitdiff
path: root/doc/en/skipping.rst
diff options
context:
space:
mode:
authorAnthony Sottile <asottile@umich.edu>2018-11-23 21:41:22 -0800
committerAnthony Sottile <asottile@umich.edu>2018-11-23 22:01:30 -0800
commit70158013772e600284e5274c72fb26b02c82a2b9 (patch)
tree6db84696c8ba4a5402a2b85c7aa18bd2113e0a93 /doc/en/skipping.rst
parent860bc5077220cab315b54dfa458b68cee6a18d93 (diff)
downloadpytest-70158013772e600284e5274c72fb26b02c82a2b9.tar.gz
Highlight docs with pygments-pytest
Diffstat (limited to 'doc/en/skipping.rst')
-rw-r--r--doc/en/skipping.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/en/skipping.rst b/doc/en/skipping.rst
index 075886a96..ae1dc7149 100644
--- a/doc/en/skipping.rst
+++ b/doc/en/skipping.rst
@@ -323,7 +323,9 @@ Here is a simple test file with the several usages:
.. literalinclude:: example/xfail_demo.py
-Running it with the report-on-xfail option gives this output::
+Running it with the report-on-xfail option gives this output:
+
+.. code-block:: pytest
example $ pytest -rx xfail_demo.py
=========================== test session starts ============================