Skip to content

Commit d512e7f

Browse files
committed
Run regendoc for 3.0.2 release
1 parent f985f47 commit d512e7f

17 files changed

+67
-67
lines changed

doc/en/assert.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ you will see the return value of the function call::
2626

2727
$ pytest test_assert1.py
2828
======= test session starts ========
29-
platform linux -- Python 3.5.2, pytest-3.0.1, py-1.4.31, pluggy-0.3.1
29+
platform linux -- Python 3.5.2, pytest-3.0.2, py-1.4.31, pluggy-0.3.1
3030
rootdir: $REGENDOC_TMPDIR, inifile:
3131
collected 1 items
3232
@@ -170,7 +170,7 @@ if you run this module::
170170

171171
$ pytest test_assert2.py
172172
======= test session starts ========
173-
platform linux -- Python 3.5.2, pytest-3.0.1, py-1.4.31, pluggy-0.3.1
173+
platform linux -- Python 3.5.2, pytest-3.0.2, py-1.4.31, pluggy-0.3.1
174174
rootdir: $REGENDOC_TMPDIR, inifile:
175175
collected 1 items
176176

doc/en/cache.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ If you then run it with ``--lf``::
8080

8181
$ pytest --lf
8282
======= test session starts ========
83-
platform linux -- Python 3.5.2, pytest-3.0.1, py-1.4.31, pluggy-0.3.1
83+
platform linux -- Python 3.5.2, pytest-3.0.2, py-1.4.31, pluggy-0.3.1
8484
run-last-failure: rerun last 2 failures
8585
rootdir: $REGENDOC_TMPDIR, inifile:
8686
collected 50 items
@@ -122,7 +122,7 @@ of ``FF`` and dots)::
122122

123123
$ pytest --ff
124124
======= test session starts ========
125-
platform linux -- Python 3.5.2, pytest-3.0.1, py-1.4.31, pluggy-0.3.1
125+
platform linux -- Python 3.5.2, pytest-3.0.2, py-1.4.31, pluggy-0.3.1
126126
run-last-failure: rerun last 2 failures first
127127
rootdir: $REGENDOC_TMPDIR, inifile:
128128
collected 50 items
@@ -227,14 +227,14 @@ You can always peek at the content of the cache using the
227227

228228
$ py.test --cache-show
229229
======= test session starts ========
230-
platform linux -- Python 3.5.2, pytest-3.0.1, py-1.4.31, pluggy-0.3.1
230+
platform linux -- Python 3.5.2, pytest-3.0.2, py-1.4.31, pluggy-0.3.1
231231
rootdir: $REGENDOC_TMPDIR, inifile:
232232
cachedir: $REGENDOC_TMPDIR/.cache
233233
------------------------------- cache values -------------------------------
234-
cache/lastfailed contains:
235-
{'test_caching.py::test_function': True}
236234
example/value contains:
237235
42
236+
cache/lastfailed contains:
237+
{'test_caching.py::test_function': True}
238238
239239
======= no tests ran in 0.12 seconds ========
240240

doc/en/capture.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ of the failing function and hide the other one::
6464

6565
$ pytest
6666
======= test session starts ========
67-
platform linux -- Python 3.5.2, pytest-3.0.1, py-1.4.31, pluggy-0.3.1
67+
platform linux -- Python 3.5.2, pytest-3.0.2, py-1.4.31, pluggy-0.3.1
6868
rootdir: $REGENDOC_TMPDIR, inifile:
6969
collected 2 items
7070

doc/en/doctest.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ then you can just invoke ``pytest`` without command line options::
4949

5050
$ pytest
5151
======= test session starts ========
52-
platform linux -- Python 3.5.2, pytest-3.0.1, py-1.4.31, pluggy-0.3.1
52+
platform linux -- Python 3.5.2, pytest-3.0.2, py-1.4.31, pluggy-0.3.1
5353
rootdir: $REGENDOC_TMPDIR, inifile: pytest.ini
5454
collected 1 items
5555

doc/en/example/markers.rst

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ You can then restrict a test run to only run tests marked with ``webtest``::
3131

3232
$ pytest -v -m webtest
3333
======= test session starts ========
34-
platform linux -- Python 3.5.2, pytest-3.0.1, py-1.4.31, pluggy-0.3.1 -- $PYTHON_PREFIX/bin/python3.5
34+
platform linux -- Python 3.5.2, pytest-3.0.2, py-1.4.31, pluggy-0.3.1 -- $PYTHON_PREFIX/bin/python3.5
3535
cachedir: .cache
3636
rootdir: $REGENDOC_TMPDIR, inifile:
3737
collecting ... collected 4 items
@@ -45,7 +45,7 @@ Or the inverse, running all tests except the webtest ones::
4545

4646
$ pytest -v -m "not webtest"
4747
======= test session starts ========
48-
platform linux -- Python 3.5.2, pytest-3.0.1, py-1.4.31, pluggy-0.3.1 -- $PYTHON_PREFIX/bin/python3.5
48+
platform linux -- Python 3.5.2, pytest-3.0.2, py-1.4.31, pluggy-0.3.1 -- $PYTHON_PREFIX/bin/python3.5
4949
cachedir: .cache
5050
rootdir: $REGENDOC_TMPDIR, inifile:
5151
collecting ... collected 4 items
@@ -66,7 +66,7 @@ tests based on their module, class, method, or function name::
6666

6767
$ pytest -v test_server.py::TestClass::test_method
6868
======= test session starts ========
69-
platform linux -- Python 3.5.2, pytest-3.0.1, py-1.4.31, pluggy-0.3.1 -- $PYTHON_PREFIX/bin/python3.5
69+
platform linux -- Python 3.5.2, pytest-3.0.2, py-1.4.31, pluggy-0.3.1 -- $PYTHON_PREFIX/bin/python3.5
7070
cachedir: .cache
7171
rootdir: $REGENDOC_TMPDIR, inifile:
7272
collecting ... collected 5 items
@@ -79,7 +79,7 @@ You can also select on the class::
7979

8080
$ pytest -v test_server.py::TestClass
8181
======= test session starts ========
82-
platform linux -- Python 3.5.2, pytest-3.0.1, py-1.4.31, pluggy-0.3.1 -- $PYTHON_PREFIX/bin/python3.5
82+
platform linux -- Python 3.5.2, pytest-3.0.2, py-1.4.31, pluggy-0.3.1 -- $PYTHON_PREFIX/bin/python3.5
8383
cachedir: .cache
8484
rootdir: $REGENDOC_TMPDIR, inifile:
8585
collecting ... collected 4 items
@@ -92,7 +92,7 @@ Or select multiple nodes::
9292

9393
$ pytest -v test_server.py::TestClass test_server.py::test_send_http
9494
======= test session starts ========
95-
platform linux -- Python 3.5.2, pytest-3.0.1, py-1.4.31, pluggy-0.3.1 -- $PYTHON_PREFIX/bin/python3.5
95+
platform linux -- Python 3.5.2, pytest-3.0.2, py-1.4.31, pluggy-0.3.1 -- $PYTHON_PREFIX/bin/python3.5
9696
cachedir: .cache
9797
rootdir: $REGENDOC_TMPDIR, inifile:
9898
collecting ... collected 8 items
@@ -130,7 +130,7 @@ select tests based on their names::
130130

131131
$ pytest -v -k http # running with the above defined example module
132132
======= test session starts ========
133-
platform linux -- Python 3.5.2, pytest-3.0.1, py-1.4.31, pluggy-0.3.1 -- $PYTHON_PREFIX/bin/python3.5
133+
platform linux -- Python 3.5.2, pytest-3.0.2, py-1.4.31, pluggy-0.3.1 -- $PYTHON_PREFIX/bin/python3.5
134134
cachedir: .cache
135135
rootdir: $REGENDOC_TMPDIR, inifile:
136136
collecting ... collected 4 items
@@ -144,7 +144,7 @@ And you can also run all tests except the ones that match the keyword::
144144

145145
$ pytest -k "not send_http" -v
146146
======= test session starts ========
147-
platform linux -- Python 3.5.2, pytest-3.0.1, py-1.4.31, pluggy-0.3.1 -- $PYTHON_PREFIX/bin/python3.5
147+
platform linux -- Python 3.5.2, pytest-3.0.2, py-1.4.31, pluggy-0.3.1 -- $PYTHON_PREFIX/bin/python3.5
148148
cachedir: .cache
149149
rootdir: $REGENDOC_TMPDIR, inifile:
150150
collecting ... collected 4 items
@@ -160,7 +160,7 @@ Or to select "http" and "quick" tests::
160160

161161
$ pytest -k "http or quick" -v
162162
======= test session starts ========
163-
platform linux -- Python 3.5.2, pytest-3.0.1, py-1.4.31, pluggy-0.3.1 -- $PYTHON_PREFIX/bin/python3.5
163+
platform linux -- Python 3.5.2, pytest-3.0.2, py-1.4.31, pluggy-0.3.1 -- $PYTHON_PREFIX/bin/python3.5
164164
cachedir: .cache
165165
rootdir: $REGENDOC_TMPDIR, inifile:
166166
collecting ... collected 4 items
@@ -352,7 +352,7 @@ the test needs::
352352

353353
$ pytest -E stage2
354354
======= test session starts ========
355-
platform linux -- Python 3.5.2, pytest-3.0.1, py-1.4.31, pluggy-0.3.1
355+
platform linux -- Python 3.5.2, pytest-3.0.2, py-1.4.31, pluggy-0.3.1
356356
rootdir: $REGENDOC_TMPDIR, inifile:
357357
collected 1 items
358358
@@ -364,7 +364,7 @@ and here is one that specifies exactly the environment needed::
364364

365365
$ pytest -E stage1
366366
======= test session starts ========
367-
platform linux -- Python 3.5.2, pytest-3.0.1, py-1.4.31, pluggy-0.3.1
367+
platform linux -- Python 3.5.2, pytest-3.0.2, py-1.4.31, pluggy-0.3.1
368368
rootdir: $REGENDOC_TMPDIR, inifile:
369369
collected 1 items
370370
@@ -485,7 +485,7 @@ then you will see two test skipped and two executed tests as expected::
485485

486486
$ pytest -rs # this option reports skip reasons
487487
======= test session starts ========
488-
platform linux -- Python 3.5.2, pytest-3.0.1, py-1.4.31, pluggy-0.3.1
488+
platform linux -- Python 3.5.2, pytest-3.0.2, py-1.4.31, pluggy-0.3.1
489489
rootdir: $REGENDOC_TMPDIR, inifile:
490490
collected 4 items
491491
@@ -499,7 +499,7 @@ Note that if you specify a platform via the marker-command line option like this
499499

500500
$ pytest -m linux2
501501
======= test session starts ========
502-
platform linux -- Python 3.5.2, pytest-3.0.1, py-1.4.31, pluggy-0.3.1
502+
platform linux -- Python 3.5.2, pytest-3.0.2, py-1.4.31, pluggy-0.3.1
503503
rootdir: $REGENDOC_TMPDIR, inifile:
504504
collected 4 items
505505
@@ -551,7 +551,7 @@ We can now use the ``-m option`` to select one set::
551551

552552
$ pytest -m interface --tb=short
553553
======= test session starts ========
554-
platform linux -- Python 3.5.2, pytest-3.0.1, py-1.4.31, pluggy-0.3.1
554+
platform linux -- Python 3.5.2, pytest-3.0.2, py-1.4.31, pluggy-0.3.1
555555
rootdir: $REGENDOC_TMPDIR, inifile:
556556
collected 4 items
557557
@@ -573,7 +573,7 @@ or to select both "event" and "interface" tests::
573573

574574
$ pytest -m "interface or event" --tb=short
575575
======= test session starts ========
576-
platform linux -- Python 3.5.2, pytest-3.0.1, py-1.4.31, pluggy-0.3.1
576+
platform linux -- Python 3.5.2, pytest-3.0.2, py-1.4.31, pluggy-0.3.1
577577
rootdir: $REGENDOC_TMPDIR, inifile:
578578
collected 4 items
579579

doc/en/example/nonpython.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ now execute the test specification::
2727

2828
nonpython $ pytest test_simple.yml
2929
======= test session starts ========
30-
platform linux -- Python 3.5.2, pytest-3.0.1, py-1.4.31, pluggy-0.3.1
30+
platform linux -- Python 3.5.2, pytest-3.0.2, py-1.4.31, pluggy-0.3.1
3131
rootdir: $REGENDOC_TMPDIR/nonpython, inifile:
3232
collected 2 items
3333
@@ -59,7 +59,7 @@ consulted when reporting in ``verbose`` mode::
5959

6060
nonpython $ pytest -v
6161
======= test session starts ========
62-
platform linux -- Python 3.5.2, pytest-3.0.1, py-1.4.31, pluggy-0.3.1 -- $PYTHON_PREFIX/bin/python3.5
62+
platform linux -- Python 3.5.2, pytest-3.0.2, py-1.4.31, pluggy-0.3.1 -- $PYTHON_PREFIX/bin/python3.5
6363
cachedir: .cache
6464
rootdir: $REGENDOC_TMPDIR/nonpython, inifile:
6565
collecting ... collected 2 items
@@ -81,7 +81,7 @@ interesting to just look at the collection tree::
8181

8282
nonpython $ pytest --collect-only
8383
======= test session starts ========
84-
platform linux -- Python 3.5.2, pytest-3.0.1, py-1.4.31, pluggy-0.3.1
84+
platform linux -- Python 3.5.2, pytest-3.0.2, py-1.4.31, pluggy-0.3.1
8585
rootdir: $REGENDOC_TMPDIR/nonpython, inifile:
8686
collected 2 items
8787
<YamlFile 'test_simple.yml'>

doc/en/example/parametrize.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ objects, they are still using the default pytest representation::
130130

131131
$ pytest test_time.py --collect-only
132132
======= test session starts ========
133-
platform linux -- Python 3.5.2, pytest-3.0.1, py-1.4.31, pluggy-0.3.1
133+
platform linux -- Python 3.5.2, pytest-3.0.2, py-1.4.31, pluggy-0.3.1
134134
rootdir: $REGENDOC_TMPDIR, inifile:
135135
collected 6 items
136136
<Module 'test_time.py'>
@@ -181,7 +181,7 @@ this is a fully self-contained example which you can run with::
181181

182182
$ pytest test_scenarios.py
183183
======= test session starts ========
184-
platform linux -- Python 3.5.2, pytest-3.0.1, py-1.4.31, pluggy-0.3.1
184+
platform linux -- Python 3.5.2, pytest-3.0.2, py-1.4.31, pluggy-0.3.1
185185
rootdir: $REGENDOC_TMPDIR, inifile:
186186
collected 4 items
187187
@@ -194,7 +194,7 @@ If you just collect tests you'll also nicely see 'advanced' and 'basic' as varia
194194

195195
$ pytest --collect-only test_scenarios.py
196196
======= test session starts ========
197-
platform linux -- Python 3.5.2, pytest-3.0.1, py-1.4.31, pluggy-0.3.1
197+
platform linux -- Python 3.5.2, pytest-3.0.2, py-1.4.31, pluggy-0.3.1
198198
rootdir: $REGENDOC_TMPDIR, inifile:
199199
collected 4 items
200200
<Module 'test_scenarios.py'>
@@ -259,7 +259,7 @@ Let's first see how it looks like at collection time::
259259

260260
$ pytest test_backends.py --collect-only
261261
======= test session starts ========
262-
platform linux -- Python 3.5.2, pytest-3.0.1, py-1.4.31, pluggy-0.3.1
262+
platform linux -- Python 3.5.2, pytest-3.0.2, py-1.4.31, pluggy-0.3.1
263263
rootdir: $REGENDOC_TMPDIR, inifile:
264264
collected 2 items
265265
<Module 'test_backends.py'>
@@ -320,7 +320,7 @@ The result of this test will be successful::
320320

321321
$ pytest test_indirect_list.py --collect-only
322322
======= test session starts ========
323-
platform linux -- Python 3.5.2, pytest-3.0.1, py-1.4.31, pluggy-0.3.1
323+
platform linux -- Python 3.5.2, pytest-3.0.2, py-1.4.31, pluggy-0.3.1
324324
rootdir: $REGENDOC_TMPDIR, inifile:
325325
collected 1 items
326326
<Module 'test_indirect_list.py'>
@@ -447,7 +447,7 @@ If you run this with reporting for skips enabled::
447447

448448
$ pytest -rs test_module.py
449449
======= test session starts ========
450-
platform linux -- Python 3.5.2, pytest-3.0.1, py-1.4.31, pluggy-0.3.1
450+
platform linux -- Python 3.5.2, pytest-3.0.2, py-1.4.31, pluggy-0.3.1
451451
rootdir: $REGENDOC_TMPDIR, inifile:
452452
collected 2 items
453453

doc/en/example/pythoncollection.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ then the test collection looks like this::
117117

118118
$ pytest --collect-only
119119
======= test session starts ========
120-
platform linux -- Python 3.5.2, pytest-3.0.1, py-1.4.31, pluggy-0.3.1
120+
platform linux -- Python 3.5.2, pytest-3.0.2, py-1.4.31, pluggy-0.3.1
121121
rootdir: $REGENDOC_TMPDIR, inifile: pytest.ini
122122
collected 2 items
123123
<Module 'check_myapp.py'>
@@ -163,7 +163,7 @@ You can always peek at the collection tree without running tests like this::
163163

164164
. $ pytest --collect-only pythoncollection.py
165165
======= test session starts ========
166-
platform linux -- Python 3.5.2, pytest-3.0.1, py-1.4.31, pluggy-0.3.1
166+
platform linux -- Python 3.5.2, pytest-3.0.2, py-1.4.31, pluggy-0.3.1
167167
rootdir: $REGENDOC_TMPDIR, inifile: pytest.ini
168168
collected 3 items
169169
<Module 'CWD/pythoncollection.py'>
@@ -230,7 +230,7 @@ will be left out::
230230

231231
$ pytest --collect-only
232232
======= test session starts ========
233-
platform linux -- Python 3.5.2, pytest-3.0.1, py-1.4.31, pluggy-0.3.1
233+
platform linux -- Python 3.5.2, pytest-3.0.2, py-1.4.31, pluggy-0.3.1
234234
rootdir: $REGENDOC_TMPDIR, inifile: pytest.ini
235235
collected 0 items
236236

doc/en/example/reportingdemo.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ get on the terminal - we are working on that)::
1111

1212
assertion $ pytest failure_demo.py
1313
======= test session starts ========
14-
platform linux -- Python 3.5.2, pytest-3.0.1, py-1.4.31, pluggy-0.3.1
14+
platform linux -- Python 3.5.2, pytest-3.0.2, py-1.4.31, pluggy-0.3.1
1515
rootdir: $REGENDOC_TMPDIR/assertion, inifile:
1616
collected 42 items
1717
@@ -359,7 +359,7 @@ get on the terminal - we are working on that)::
359359
> int(s)
360360
E ValueError: invalid literal for int() with base 10: 'qwe'
361361
362-
<0-codegen $PYTHON_PREFIX/lib/python3.5/site-packages/_pytest/python.py:1189>:1: ValueError
362+
<0-codegen $PYTHON_PREFIX/lib/python3.5/site-packages/_pytest/python.py:1190>:1: ValueError
363363
_______ TestRaises.test_raises_doesnt ________
364364
365365
self = <failure_demo.TestRaises object at 0xdeadbeef>

0 commit comments

Comments
 (0)