Skip to content

Commit be9356a

Browse files
authored
Merge pull request #1817 from nicoddemus/regendoc-run
Run regendoc for 3.0 release
2 parents 3748112 + 9ce30e0 commit be9356a

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

doc/en/builtin.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,6 @@ You can ask for available builtin or project-custom
121121
test function or fixture has finished. The ``raising``
122122
parameter determines if a KeyError or AttributeError
123123
will be raised if the set/deletion operation has no target.
124-
125-
This fixture is ``invocation``-scoped.
126124
recwarn
127125
Return a WarningsRecorder instance that provides these methods:
128126

doc/en/example/pythoncollection.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ then the test collection looks like this::
118118
$ pytest --collect-only
119119
======= test session starts ========
120120
platform linux -- Python 3.5.2, pytest-3.0.0, py-1.4.31, pluggy-0.3.1
121-
rootdir: $REGENDOC_TMPDIR, inifile: setup.cfg
121+
rootdir: $REGENDOC_TMPDIR, inifile: pytest.ini
122122
collected 2 items
123123
<Module 'check_myapp.py'>
124124
<Class 'CheckMyApp'>

doc/en/example/reportingdemo.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ get on the terminal - we are working on that):
361361
> int(s)
362362
E ValueError: invalid literal for int() with base 10: 'qwe'
363363
364-
<0-codegen $PYTHON_PREFIX/lib/python3.5/site-packages/_pytest/python.py:1176>:1: ValueError
364+
<0-codegen $PYTHON_PREFIX/lib/python3.5/site-packages/_pytest/python.py:1174>:1: ValueError
365365
_______ TestRaises.test_raises_doesnt ________
366366
367367
self = <failure_demo.TestRaises object at 0xdeadbeef>

doc/en/example/simple.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -501,8 +501,8 @@ We can run this::
501501
file $REGENDOC_TMPDIR/b/test_error.py, line 1
502502
def test_root(db): # no db here, will error out
503503
E fixture 'db' not found
504-
available fixtures: cache, capfd, capsys, doctest_namespace, monkeypatch, pytestconfig, record_xml_property, recwarn, tmpdir, tmpdir_factory
505-
use 'pytest --fixtures [testpath]' for help on them.
504+
> available fixtures: cache, capfd, capsys, doctest_namespace, monkeypatch, pytestconfig, record_xml_property, recwarn, tmpdir, tmpdir_factory
505+
> use 'pytest --fixtures [testpath]' for help on them.
506506
507507
$REGENDOC_TMPDIR/b/test_error.py:1
508508
======= FAILURES ========

0 commit comments

Comments
 (0)