diff --git a/CHANGELOG.rst b/CHANGELOG.rst index f61319db7..21a090414 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -8,6 +8,52 @@ .. towncrier release notes start +Pytest 3.6.2 (2018-06-20) +========================= + +Bug Fixes +--------- + +- Fix regression in ``Node.add_marker`` by extracting the mark object of a + ``MarkDecorator``. (`#3555 + `_) + +- Warnings without ``location`` were reported as ``None``. This is corrected to + now report ````. (`#3563 + `_) + +- Continue to call finalizers in the stack when a finalizer in a former scope + raises an exception. (`#3569 + `_) + +- Fix encoding error with `print` statements in doctests (`#3583 + `_) + + +Improved Documentation +---------------------- + +- Add documentation for the ``--strict`` flag. (`#3549 + `_) + + +Trivial/Internal Changes +------------------------ + +- Update old quotation style to parens in fixture.rst documentation. (`#3525 + `_) + +- Improve display of hint about ``--fulltrace`` with ``KeyboardInterrupt``. + (`#3545 `_) + +- pytest's testsuite is no longer runnable through ``python setup.py test`` -- + instead invoke ``pytest`` or ``tox`` directly. (`#3552 + `_) + +- Fix typo in documentation (`#3567 + `_) + + Pytest 3.6.1 (2018-06-05) ========================= diff --git a/changelog/3525.trivial.rst b/changelog/3525.trivial.rst deleted file mode 100644 index 4607c3bd5..000000000 --- a/changelog/3525.trivial.rst +++ /dev/null @@ -1 +0,0 @@ -Update old quotation style to parens in fixture.rst documentation. diff --git a/changelog/3545.trivial.rst b/changelog/3545.trivial.rst deleted file mode 100644 index 0b98f78b1..000000000 --- a/changelog/3545.trivial.rst +++ /dev/null @@ -1 +0,0 @@ -Improve display of hint about ``--fulltrace`` with ``KeyboardInterrupt``. diff --git a/changelog/3549.doc.rst b/changelog/3549.doc.rst deleted file mode 100644 index 62bc4f9a5..000000000 --- a/changelog/3549.doc.rst +++ /dev/null @@ -1 +0,0 @@ -Add documentation for the ``--strict`` flag. diff --git a/changelog/3552.trivial.rst b/changelog/3552.trivial.rst deleted file mode 100644 index dc4fb8be5..000000000 --- a/changelog/3552.trivial.rst +++ /dev/null @@ -1 +0,0 @@ -pytest's testsuite is no longer runnable through ``python setup.py test`` -- instead invoke ``pytest`` or ``tox`` directly. diff --git a/changelog/3555.bugfix.rst b/changelog/3555.bugfix.rst deleted file mode 100644 index b86012c6b..000000000 --- a/changelog/3555.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fix regression in ``Node.add_marker`` by extracting the mark object of a ``MarkDecorator``. diff --git a/changelog/3563.bugfix.rst b/changelog/3563.bugfix.rst deleted file mode 100644 index 8ba24c5dd..000000000 --- a/changelog/3563.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Warnings without ``location`` were reported as ``None``. This is corrected to now report ````. diff --git a/changelog/3567.trivial.rst b/changelog/3567.trivial.rst deleted file mode 100644 index b0bd6fdd4..000000000 --- a/changelog/3567.trivial.rst +++ /dev/null @@ -1 +0,0 @@ -Fix typo in documentation diff --git a/changelog/3569.bugfix.rst b/changelog/3569.bugfix.rst deleted file mode 100644 index 586ecaf95..000000000 --- a/changelog/3569.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Continue to call finalizers in the stack when a finalizer in a former scope raises an exception. diff --git a/changelog/3583.bugfix.rst b/changelog/3583.bugfix.rst deleted file mode 100644 index cfa662580..000000000 --- a/changelog/3583.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fix encoding error with `print` statements in doctests diff --git a/doc/en/announce/index.rst b/doc/en/announce/index.rst index 09840708d..107fcd2ad 100644 --- a/doc/en/announce/index.rst +++ b/doc/en/announce/index.rst @@ -6,6 +6,7 @@ Release announcements :maxdepth: 2 + release-3.6.2 release-3.6.1 release-3.6.0 release-3.5.1 diff --git a/doc/en/announce/release-3.6.2.rst b/doc/en/announce/release-3.6.2.rst new file mode 100644 index 000000000..a1215f576 --- /dev/null +++ b/doc/en/announce/release-3.6.2.rst @@ -0,0 +1,29 @@ +pytest-3.6.2 +======================================= + +pytest 3.6.2 has just been released to PyPI. + +This is a bug-fix release, being a drop-in replacement. To upgrade:: + + pip install --upgrade pytest + +The full changelog is available at http://doc.pytest.org/en/latest/changelog.html. + +Thanks to all who contributed to this release, among them: + +* Alan Velasco +* Alex Barbato +* Anthony Sottile +* Bartosz Cierocki +* Bruno Oliveira +* Daniel Hahler +* Guoqiang Zhang +* Hynek Schlawack +* John T. Wodder II +* Michael Käufl +* Ronny Pfannschmidt +* Samuel Dion-Girardeau + + +Happy testing, +The pytest Development Team diff --git a/doc/en/example/reportingdemo.rst b/doc/en/example/reportingdemo.rst index 9e9d65b6d..4691b128b 100644 --- a/doc/en/example/reportingdemo.rst +++ b/doc/en/example/reportingdemo.rst @@ -625,7 +625,7 @@ get on the terminal - we are working on that):: failure_demo.py:278: AssertionError ============================= warnings summary ============================= - None + Metafunc.addcall is deprecated and scheduled to be removed in pytest 4.0. Please use Metafunc.parametrize instead.