Preparing release version 3.7.3
This commit is contained in:
parent
7ae23901d3
commit
c31018d9bc
|
@ -18,6 +18,61 @@ with advance notice in the **Deprecations** section of releases.
|
||||||
|
|
||||||
.. towncrier release notes start
|
.. towncrier release notes start
|
||||||
|
|
||||||
|
pytest 3.7.3 (2018-08-26)
|
||||||
|
=========================
|
||||||
|
|
||||||
|
Bug Fixes
|
||||||
|
---------
|
||||||
|
|
||||||
|
- `#3033 <https://github.com/pytest-dev/pytest/issues/3033>`_: Fixtures during teardown can again use ``capsys`` and ``cafd`` to inspect output captured during tests.
|
||||||
|
|
||||||
|
|
||||||
|
- `#3773 <https://github.com/pytest-dev/pytest/issues/3773>`_: Fix collection of tests from ``__init__.py`` files if they match the ``python_files`` configuration option.
|
||||||
|
|
||||||
|
|
||||||
|
- `#3796 <https://github.com/pytest-dev/pytest/issues/3796>`_: Fixed an issue where teardown of fixtures of consecutive sub-packages were executed once, at the end of the outer
|
||||||
|
package.
|
||||||
|
|
||||||
|
|
||||||
|
- `#3816 <https://github.com/pytest-dev/pytest/issues/3816>`_: Fix bug where ``--show-capture=no`` option would still show logs printed during fixture teardown.
|
||||||
|
|
||||||
|
|
||||||
|
- `#3819 <https://github.com/pytest-dev/pytest/issues/3819>`_: Fix ``stdout/stderr`` not getting captured when real-time cli logging is active.
|
||||||
|
|
||||||
|
|
||||||
|
- `#3843 <https://github.com/pytest-dev/pytest/issues/3843>`_: Fix collection error when specifying test functions directly in the command line using ``test.py::test`` syntax together with ``--doctest-module``.
|
||||||
|
|
||||||
|
|
||||||
|
- `#3848 <https://github.com/pytest-dev/pytest/issues/3848>`_: Fix bugs where unicode arguments could not be passed to ``testdir.runpytest`` on Python 2.
|
||||||
|
|
||||||
|
|
||||||
|
- `#3854 <https://github.com/pytest-dev/pytest/issues/3854>`_: Fixes double collection of tests within packages when the filename starts with a capital letter.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Improved Documentation
|
||||||
|
----------------------
|
||||||
|
|
||||||
|
- `#3824 <https://github.com/pytest-dev/pytest/issues/3824>`_: Added example for multiple glob pattern matches in ``python_files``.
|
||||||
|
|
||||||
|
|
||||||
|
- `#3833 <https://github.com/pytest-dev/pytest/issues/3833>`_: Added missing docs for ``pytester.Testdir``
|
||||||
|
|
||||||
|
|
||||||
|
- `#3870 <https://github.com/pytest-dev/pytest/issues/3870>`_: correct documentation for setuptools integration
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Trivial/Internal Changes
|
||||||
|
------------------------
|
||||||
|
|
||||||
|
- `#3826 <https://github.com/pytest-dev/pytest/issues/3826>`_: Replace broken type annotations with type comments.
|
||||||
|
|
||||||
|
|
||||||
|
- `#3845 <https://github.com/pytest-dev/pytest/issues/3845>`_: Remove a reference to issue `#568 <https://github.com/pytest-dev/pytest/issues/568>`_ from the documentation, which has since been
|
||||||
|
fixed.
|
||||||
|
|
||||||
|
|
||||||
pytest 3.7.2 (2018-08-16)
|
pytest 3.7.2 (2018-08-16)
|
||||||
=========================
|
=========================
|
||||||
|
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
Fixtures during teardown can again use ``capsys`` and ``cafd`` to inspect output captured during tests.
|
|
|
@ -1 +0,0 @@
|
||||||
Fix collection of tests from ``__init__.py`` files if they match the ``python_files`` configuration option.
|
|
|
@ -1,2 +0,0 @@
|
||||||
Fixed an issue where teardown of fixtures of consecutive sub-packages were executed once, at the end of the outer
|
|
||||||
package.
|
|
|
@ -1 +0,0 @@
|
||||||
Fix bug where ``--show-capture=no`` option would still show logs printed during fixture teardown.
|
|
|
@ -1 +0,0 @@
|
||||||
Fix ``stdout/stderr`` not getting captured when real-time cli logging is active.
|
|
|
@ -1 +0,0 @@
|
||||||
Added example for multiple glob pattern matches in ``python_files``.
|
|
|
@ -1 +0,0 @@
|
||||||
Replace broken type annotations with type comments.
|
|
|
@ -1 +0,0 @@
|
||||||
Added missing docs for ``pytester.Testdir``
|
|
|
@ -1 +0,0 @@
|
||||||
Fix collection error when specifying test functions directly in the command line using ``test.py::test`` syntax together with ``--doctest-module``.
|
|
|
@ -1,2 +0,0 @@
|
||||||
Remove a reference to issue `#568 <https://github.com/pytest-dev/pytest/issues/568>`_ from the documentation, which has since been
|
|
||||||
fixed.
|
|
|
@ -1 +0,0 @@
|
||||||
Fix bugs where unicode arguments could not be passed to ``testdir.runpytest`` on Python 2.
|
|
|
@ -1 +0,0 @@
|
||||||
Fixes double collection of tests within packages when the filename starts with a capital letter.
|
|
|
@ -1 +0,0 @@
|
||||||
correct documentation for setuptools integration
|
|
|
@ -6,6 +6,7 @@ Release announcements
|
||||||
:maxdepth: 2
|
:maxdepth: 2
|
||||||
|
|
||||||
|
|
||||||
|
release-3.7.3
|
||||||
release-3.7.2
|
release-3.7.2
|
||||||
release-3.7.1
|
release-3.7.1
|
||||||
release-3.7.0
|
release-3.7.0
|
||||||
|
|
|
@ -0,0 +1,33 @@
|
||||||
|
pytest-3.7.3
|
||||||
|
=======================================
|
||||||
|
|
||||||
|
pytest 3.7.3 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:
|
||||||
|
|
||||||
|
* Andrew Champion
|
||||||
|
* Anthony Sottile
|
||||||
|
* Bruno Oliveira
|
||||||
|
* Daniel Hahler
|
||||||
|
* Gandalf Saxe
|
||||||
|
* Jennifer Rinker
|
||||||
|
* Natan Lao
|
||||||
|
* Ondřej Súkup
|
||||||
|
* Ronny Pfannschmidt
|
||||||
|
* Sankt Petersbug
|
||||||
|
* Tyler Richard
|
||||||
|
* Victor
|
||||||
|
* Vlad Shcherbina
|
||||||
|
* turturica
|
||||||
|
* victor
|
||||||
|
* wim glenn
|
||||||
|
|
||||||
|
|
||||||
|
Happy testing,
|
||||||
|
The pytest Development Team
|
|
@ -413,7 +413,7 @@ 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
|
||||||
...sss...sssssssss...sss... [100%]
|
...sss...sssssssss...sss... [100%]
|
||||||
========================= short test summary info ==========================
|
========================= short test summary info ==========================
|
||||||
SKIP [15] $REGENDOC_TMPDIR/CWD/multipython.py:28: 'python3.4' not found
|
SKIP [15] $REGENDOC_TMPDIR/CWD/multipython.py:29: 'python3.4' not found
|
||||||
12 passed, 15 skipped in 0.12 seconds
|
12 passed, 15 skipped in 0.12 seconds
|
||||||
|
|
||||||
Indirect parametrization of optional implementations/imports
|
Indirect parametrization of optional implementations/imports
|
||||||
|
|
|
@ -129,12 +129,7 @@ The test collection would look like this::
|
||||||
=========================== test session starts ============================
|
=========================== test session starts ============================
|
||||||
platform linux -- Python 3.x.y, pytest-3.x.y, py-1.x.y, pluggy-0.x.y
|
platform linux -- Python 3.x.y, pytest-3.x.y, py-1.x.y, pluggy-0.x.y
|
||||||
rootdir: $REGENDOC_TMPDIR, inifile: pytest.ini
|
rootdir: $REGENDOC_TMPDIR, inifile: pytest.ini
|
||||||
collected 2 items
|
collected 0 items
|
||||||
<Module 'check_myapp.py'>
|
|
||||||
<Class 'CheckMyApp'>
|
|
||||||
<Instance '()'>
|
|
||||||
<Function 'simple_check'>
|
|
||||||
<Function 'complex_check'>
|
|
||||||
|
|
||||||
======================= no tests ran in 0.12 seconds =======================
|
======================= no tests ran in 0.12 seconds =======================
|
||||||
|
|
||||||
|
|
|
@ -423,7 +423,7 @@ get on the terminal - we are working on that)::
|
||||||
name = "abc-123"
|
name = "abc-123"
|
||||||
module = imp.new_module(name)
|
module = imp.new_module(name)
|
||||||
code = _pytest._code.compile(src, name, "exec")
|
code = _pytest._code.compile(src, name, "exec")
|
||||||
py.builtin.exec_(code, module.__dict__)
|
six.exec_(code, module.__dict__)
|
||||||
sys.modules[name] = module
|
sys.modules[name] = module
|
||||||
> module.foo()
|
> module.foo()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue