rerun regendoc with correct install
This commit is contained in:
parent
34b898b47e
commit
449b88c640
|
@ -29,15 +29,16 @@ now execute the test specification::
|
||||||
======= test session starts ========
|
======= test session starts ========
|
||||||
platform linux -- Python 3.5.2, pytest-3.0.6, py-1.4.33, pluggy-0.4.0
|
platform linux -- Python 3.5.2, pytest-3.0.6, py-1.4.33, pluggy-0.4.0
|
||||||
rootdir: $REGENDOC_TMPDIR/nonpython, inifile:
|
rootdir: $REGENDOC_TMPDIR/nonpython, inifile:
|
||||||
collected 0 items / 1 errors
|
collected 2 items
|
||||||
|
|
||||||
======= ERRORS ========
|
test_simple.yml F.
|
||||||
_______ ERROR collecting test_simple.yml ________
|
|
||||||
conftest.py:11: in collect
|
======= FAILURES ========
|
||||||
import yaml # we need a yaml parser, e.g. PyYAML
|
_______ usecase: hello ________
|
||||||
E ImportError: No module named 'yaml'
|
usecase execution failed
|
||||||
!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!
|
spec failed: 'some': 'other'
|
||||||
======= 1 error in 0.12 seconds ========
|
no further details known at this point.
|
||||||
|
======= 1 failed, 1 passed in 0.12 seconds ========
|
||||||
|
|
||||||
.. regendoc:wipe
|
.. regendoc:wipe
|
||||||
|
|
||||||
|
@ -61,15 +62,17 @@ consulted when reporting in ``verbose`` mode::
|
||||||
platform linux -- Python 3.5.2, pytest-3.0.6, py-1.4.33, pluggy-0.4.0 -- $PYTHON_PREFIX/bin/python3.5m
|
platform linux -- Python 3.5.2, pytest-3.0.6, py-1.4.33, pluggy-0.4.0 -- $PYTHON_PREFIX/bin/python3.5m
|
||||||
cachedir: .cache
|
cachedir: .cache
|
||||||
rootdir: $REGENDOC_TMPDIR/nonpython, inifile:
|
rootdir: $REGENDOC_TMPDIR/nonpython, inifile:
|
||||||
collecting ... collected 0 items / 1 errors
|
collecting ... collected 2 items
|
||||||
|
|
||||||
======= ERRORS ========
|
test_simple.yml::hello FAILED
|
||||||
_______ ERROR collecting test_simple.yml ________
|
test_simple.yml::ok PASSED
|
||||||
conftest.py:11: in collect
|
|
||||||
import yaml # we need a yaml parser, e.g. PyYAML
|
======= FAILURES ========
|
||||||
E ImportError: No module named 'yaml'
|
_______ usecase: hello ________
|
||||||
!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!
|
usecase execution failed
|
||||||
======= 1 error in 0.12 seconds ========
|
spec failed: 'some': 'other'
|
||||||
|
no further details known at this point.
|
||||||
|
======= 1 failed, 1 passed in 0.12 seconds ========
|
||||||
|
|
||||||
.. regendoc:wipe
|
.. regendoc:wipe
|
||||||
|
|
||||||
|
@ -80,12 +83,9 @@ interesting to just look at the collection tree::
|
||||||
======= test session starts ========
|
======= test session starts ========
|
||||||
platform linux -- Python 3.5.2, pytest-3.0.6, py-1.4.33, pluggy-0.4.0
|
platform linux -- Python 3.5.2, pytest-3.0.6, py-1.4.33, pluggy-0.4.0
|
||||||
rootdir: $REGENDOC_TMPDIR/nonpython, inifile:
|
rootdir: $REGENDOC_TMPDIR/nonpython, inifile:
|
||||||
collected 0 items / 1 errors
|
collected 2 items
|
||||||
|
<YamlFile 'test_simple.yml'>
|
||||||
|
<YamlItem 'hello'>
|
||||||
|
<YamlItem 'ok'>
|
||||||
|
|
||||||
======= ERRORS ========
|
======= no tests ran in 0.12 seconds ========
|
||||||
_______ ERROR collecting test_simple.yml ________
|
|
||||||
conftest.py:11: in collect
|
|
||||||
import yaml # we need a yaml parser, e.g. PyYAML
|
|
||||||
E ImportError: No module named 'yaml'
|
|
||||||
!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!
|
|
||||||
======= 1 error in 0.12 seconds ========
|
|
||||||
|
|
|
@ -399,8 +399,8 @@ Running it results in some skips if we don't have all the python interpreters in
|
||||||
. $ pytest -rs -q multipython.py
|
. $ pytest -rs -q multipython.py
|
||||||
sssssssssssssssssssssssssssssssssssssssssssss...
|
sssssssssssssssssssssssssssssssssssssssssssss...
|
||||||
======= short test summary info ========
|
======= short test summary info ========
|
||||||
SKIP [15] $REGENDOC_TMPDIR/CWD/multipython.py:23: 'python3.4' not found
|
|
||||||
SKIP [15] $REGENDOC_TMPDIR/CWD/multipython.py:23: 'python2.6' not found
|
SKIP [15] $REGENDOC_TMPDIR/CWD/multipython.py:23: 'python2.6' not found
|
||||||
|
SKIP [15] $REGENDOC_TMPDIR/CWD/multipython.py:23: 'python3.4' not found
|
||||||
SKIP [15] $REGENDOC_TMPDIR/CWD/multipython.py:23: 'python2.7' not found
|
SKIP [15] $REGENDOC_TMPDIR/CWD/multipython.py:23: 'python2.7' not found
|
||||||
3 passed, 45 skipped in 0.12 seconds
|
3 passed, 45 skipped in 0.12 seconds
|
||||||
|
|
||||||
|
|
|
@ -359,7 +359,7 @@ get on the terminal - we are working on that)::
|
||||||
> int(s)
|
> int(s)
|
||||||
E ValueError: invalid literal for int() with base 10: 'qwe'
|
E ValueError: invalid literal for int() with base 10: 'qwe'
|
||||||
|
|
||||||
<0-codegen /home/ronny/Projects/pytest-dev/pytest/_pytest/python.py:1207>:1: ValueError
|
<0-codegen $PYTHON_PREFIX/lib/python3.5/site-packages/_pytest/python.py:1207>:1: ValueError
|
||||||
_______ TestRaises.test_raises_doesnt ________
|
_______ TestRaises.test_raises_doesnt ________
|
||||||
|
|
||||||
self = <failure_demo.TestRaises object at 0xdeadbeef>
|
self = <failure_demo.TestRaises object at 0xdeadbeef>
|
||||||
|
|
|
@ -26,7 +26,7 @@ Installation::
|
||||||
To check your installation has installed the correct version::
|
To check your installation has installed the correct version::
|
||||||
|
|
||||||
$ pytest --version
|
$ pytest --version
|
||||||
This is pytest version 3.0.6, imported from /home/ronny/Projects/pytest-dev/pytest/pytest.py
|
This is pytest version 3.0.6, imported from $PYTHON_PREFIX/lib/python3.5/site-packages/pytest.py
|
||||||
|
|
||||||
.. _`simpletest`:
|
.. _`simpletest`:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue