diff options
author | Bruno Oliveira <nicoddemus@gmail.com> | 2019-09-29 10:26:06 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-29 10:26:06 -0300 |
commit | 88434f1f42430ac250908b176697f0ac5a9e571c (patch) | |
tree | 1ace00e68b5121559abd3920e89c2a40dfa78de0 /doc | |
parent | 4d01740be38a34ef2f563f9927c20e20e8b72751 (diff) | |
parent | 068ef90b92a9e9205af31cb3d82e7d2a433ff969 (diff) | |
download | pytest-88434f1f42430ac250908b176697f0ac5a9e571c.tar.gz |
Release 5.2.0 (#5885)
Release 5.2.0
Diffstat (limited to 'doc')
-rw-r--r-- | doc/en/announce/index.rst | 1 | ||||
-rw-r--r-- | doc/en/announce/release-5.2.0.rst | 36 | ||||
-rw-r--r-- | doc/en/example/parametrize.rst | 4 | ||||
-rw-r--r-- | doc/en/example/reportingdemo.rst | 4 | ||||
-rw-r--r-- | doc/en/example/simple.rst | 2 | ||||
-rw-r--r-- | doc/en/getting-started.rst | 2 |
6 files changed, 43 insertions, 6 deletions
diff --git a/doc/en/announce/index.rst b/doc/en/announce/index.rst index a601b247e..5fe3cc78c 100644 --- a/doc/en/announce/index.rst +++ b/doc/en/announce/index.rst @@ -6,6 +6,7 @@ Release announcements :maxdepth: 2 + release-5.2.0 release-5.1.3 release-5.1.2 release-5.1.1 diff --git a/doc/en/announce/release-5.2.0.rst b/doc/en/announce/release-5.2.0.rst new file mode 100644 index 000000000..f61d70222 --- /dev/null +++ b/doc/en/announce/release-5.2.0.rst @@ -0,0 +1,36 @@ +pytest-5.2.0 +======================================= + +The pytest team is proud to announce the 5.2.0 release! + +pytest is a mature Python testing tool with more than a 2000 tests +against itself, passing on many different interpreters and platforms. + +This release contains a number of bugs fixes and improvements, so users are encouraged +to take a look at the CHANGELOG: + + https://docs.pytest.org/en/latest/changelog.html + +For complete documentation, please visit: + + https://docs.pytest.org/en/latest/ + +As usual, you can upgrade from pypi via: + + pip install -U pytest + +Thanks to all who contributed to this release, among them: + +* Andrzej Klajnert +* Anthony Sottile +* Bruno Oliveira +* Daniel Hahler +* James Cooke +* Michael Goerz +* Ran Benita +* Tomáš Chvátal +* aklajnert + + +Happy testing, +The Pytest Development Team diff --git a/doc/en/example/parametrize.rst b/doc/en/example/parametrize.rst index 640106ccd..0b94e425c 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:30: 'python3.5' not found - SKIPPED [12] $REGENDOC_TMPDIR/CWD/multipython.py:30: 'python3.7' not found + SKIPPED [12] $REGENDOC_TMPDIR/CWD/multipython.py:30: '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 71ac77f7b..a7cd06d31 100644 --- a/doc/en/example/simple.rst +++ b/doc/en/example/simple.rst @@ -445,7 +445,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.21s call test_some_are_slow.py::test_funcslow1 + 0.20s call test_some_are_slow.py::test_funcslow1 0.10s call test_some_are_slow.py::test_funcfast ============================ 3 passed in 0.12s ============================= diff --git a/doc/en/getting-started.rst b/doc/en/getting-started.rst index 2bdd68ea3..97347f126 100644 --- a/doc/en/getting-started.rst +++ b/doc/en/getting-started.rst @@ -28,7 +28,7 @@ Install ``pytest`` .. code-block:: bash $ pytest --version - This is pytest version 5.x.y, imported from $PYTHON_PREFIX/lib/python3.6/site-packages/pytest.py + This is pytest version 5.x.y, imported from $PYTHON_PREFIX/lib/python3.7/site-packages/pytest.py .. _`simpletest`: |