summaryrefslogtreecommitdiff
path: root/doc/en/example
diff options
context:
space:
mode:
authorBruno Oliveira <nicoddemus@gmail.com>2019-11-25 12:01:31 -0500
committerBruno Oliveira <nicoddemus@gmail.com>2019-11-25 14:32:37 -0300
commit05008f6b557ad35b71efd9e9ebca96c07402d793 (patch)
tree3acd61a7a93efa93f3a52756f7af89a497811c45 /doc/en/example
parent9d900930dbf52fc79ac9414c1f6d9ec485f55e18 (diff)
downloadpytest-05008f6b557ad35b71efd9e9ebca96c07402d793.tar.gz
Preparing release version 5.3.1
Diffstat (limited to 'doc/en/example')
-rw-r--r--doc/en/example/parametrize.rst4
-rw-r--r--doc/en/example/reportingdemo.rst4
-rw-r--r--doc/en/example/simple.rst2
3 files changed, 5 insertions, 5 deletions
diff --git a/doc/en/example/parametrize.rst b/doc/en/example/parametrize.rst
index c420761a4..7230f2b00 100644
--- a/doc/en/example/parametrize.rst
+++ b/doc/en/example/parametrize.rst
@@ -475,10 +475,10 @@ Running it results in some skips if we don't have all the python interpreters in
.. code-block:: pytest
. $ pytest -rs -q multipython.py
- ssssssssssss...ssssssssssss [100%]
+ ssssssssssssssssssssssss... [100%]
========================= short test summary info ==========================
SKIPPED [12] $REGENDOC_TMPDIR/CWD/multipython.py:29: 'python3.5' not found
- SKIPPED [12] $REGENDOC_TMPDIR/CWD/multipython.py:29: 'python3.7' not found
+ SKIPPED [12] $REGENDOC_TMPDIR/CWD/multipython.py:29: 'python3.6' not found
3 passed, 24 skipped in 0.12s
Indirect parametrization of optional implementations/imports
diff --git a/doc/en/example/reportingdemo.rst b/doc/en/example/reportingdemo.rst
index 1c06782f6..eb978c5ea 100644
--- a/doc/en/example/reportingdemo.rst
+++ b/doc/en/example/reportingdemo.rst
@@ -436,7 +436,7 @@ Here is a nice run of several failures and how ``pytest`` presents things:
items = [1, 2, 3]
print("items is {!r}".format(items))
> a, b = items.pop()
- E TypeError: 'int' object is not iterable
+ E TypeError: cannot unpack non-iterable int object
failure_demo.py:181: TypeError
--------------------------- Captured stdout call ---------------------------
@@ -516,7 +516,7 @@ Here is a nice run of several failures and how ``pytest`` presents things:
def test_z2_type_error(self):
items = 3
> a, b = items
- E TypeError: 'int' object is not iterable
+ E TypeError: cannot unpack non-iterable int object
failure_demo.py:222: TypeError
______________________ TestMoreErrors.test_startswith ______________________
diff --git a/doc/en/example/simple.rst b/doc/en/example/simple.rst
index 1570850fc..c1e13e3b1 100644
--- a/doc/en/example/simple.rst
+++ b/doc/en/example/simple.rst
@@ -442,7 +442,7 @@ Now we can profile which test functions execute the slowest:
========================= slowest 3 test durations =========================
0.30s call test_some_are_slow.py::test_funcslow2
- 0.20s call test_some_are_slow.py::test_funcslow1
+ 0.21s call test_some_are_slow.py::test_funcslow1
0.11s call test_some_are_slow.py::test_funcfast
============================ 3 passed in 0.12s =============================