summaryrefslogtreecommitdiff
path: root/doc/en/assert.rst
diff options
context:
space:
mode:
authorBruno Oliveira <nicoddemus@gmail.com>2017-03-14 18:10:23 -0300
committerBruno Oliveira <nicoddemus@gmail.com>2017-03-14 18:10:23 -0300
commit6c9011c12fd3b14d09562c6d391319e70883eef9 (patch)
tree0ee2774eb8a557f6fb168b72c20a44c311911cc0 /doc/en/assert.rst
parentd1ea7c8cc8f304ba90900bdef0cfa73395a0fbd5 (diff)
parentfa15ae754500916eb5226adb1efaaf95f0ce4618 (diff)
downloadpytest-6c9011c12fd3b14d09562c6d391319e70883eef9.tar.gz
Merge branch 'master' into merge-master-into-features-post-3.0.7
Diffstat (limited to 'doc/en/assert.rst')
-rw-r--r--doc/en/assert.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/en/assert.rst b/doc/en/assert.rst
index ef8636142..ba078c4c4 100644
--- a/doc/en/assert.rst
+++ b/doc/en/assert.rst
@@ -26,8 +26,8 @@ you will see the return value of the function call::
$ pytest test_assert1.py
======= test session starts ========
- platform linux -- Python 3.5.2, pytest-3.0.6, py-1.4.33, pluggy-0.4.0
- rootdir: $REGENDOC_TMPDIR, inifile:
+ platform linux -- Python 3.5.2, pytest-3.0.7, py-1.4.32, pluggy-0.4.0
+ rootdir: $REGENDOC_TMPDIR, inifile:
collected 1 items
test_assert1.py F
@@ -170,8 +170,8 @@ if you run this module::
$ pytest test_assert2.py
======= test session starts ========
- platform linux -- Python 3.5.2, pytest-3.0.6, py-1.4.33, pluggy-0.4.0
- rootdir: $REGENDOC_TMPDIR, inifile:
+ platform linux -- Python 3.5.2, pytest-3.0.7, py-1.4.32, pluggy-0.4.0
+ rootdir: $REGENDOC_TMPDIR, inifile:
collected 1 items
test_assert2.py F
@@ -183,7 +183,7 @@ if you run this module::
set1 = set("1308")
set2 = set("8035")
> assert set1 == set2
- E assert {'0', '1', '3', '8'} == {'0', '3', '5', '8'}
+ E AssertionError: assert {'0', '1', '3', '8'} == {'0', '3', '5', '8'}
E Extra items in the left set:
E '1'
E Extra items in the right set: