Skip to content

Commit a319674

Browse files
authored
Merge pull request #3882 from nicoddemus/release-3.7.3
Release 3.7.3
2 parents 7ae2390 + e74ad4f commit a319674

19 files changed

+92
-18
lines changed

CHANGELOG.rst

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,61 @@ with advance notice in the **Deprecations** section of releases.
1818
1919
.. towncrier release notes start
2020
21+
pytest 3.7.3 (2018-08-26)
22+
=========================
23+
24+
Bug Fixes
25+
---------
26+
27+
- `#3033 <https://github.com/pytest-dev/pytest/issues/3033>`_: Fixtures during teardown can again use ``capsys`` and ``capfd`` to inspect output captured during tests.
28+
29+
30+
- `#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.
31+
32+
33+
- `#3796 <https://github.com/pytest-dev/pytest/issues/3796>`_: Fix issue where teardown of fixtures of consecutive sub-packages were executed once, at the end of the outer
34+
package.
35+
36+
37+
- `#3816 <https://github.com/pytest-dev/pytest/issues/3816>`_: Fix bug where ``--show-capture=no`` option would still show logs printed during fixture teardown.
38+
39+
40+
- `#3819 <https://github.com/pytest-dev/pytest/issues/3819>`_: Fix ``stdout/stderr`` not getting captured when real-time cli logging is active.
41+
42+
43+
- `#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-modules``.
44+
45+
46+
- `#3848 <https://github.com/pytest-dev/pytest/issues/3848>`_: Fix bugs where unicode arguments could not be passed to ``testdir.runpytest`` on Python 2.
47+
48+
49+
- `#3854 <https://github.com/pytest-dev/pytest/issues/3854>`_: Fix double collection of tests within packages when the filename starts with a capital letter.
50+
51+
52+
53+
Improved Documentation
54+
----------------------
55+
56+
- `#3824 <https://github.com/pytest-dev/pytest/issues/3824>`_: Added example for multiple glob pattern matches in ``python_files``.
57+
58+
59+
- `#3833 <https://github.com/pytest-dev/pytest/issues/3833>`_: Added missing docs for ``pytester.Testdir``.
60+
61+
62+
- `#3870 <https://github.com/pytest-dev/pytest/issues/3870>`_: Correct documentation for setuptools integration.
63+
64+
65+
66+
Trivial/Internal Changes
67+
------------------------
68+
69+
- `#3826 <https://github.com/pytest-dev/pytest/issues/3826>`_: Replace broken type annotations with type comments.
70+
71+
72+
- `#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
73+
fixed.
74+
75+
2176
pytest 3.7.2 (2018-08-16)
2277
=========================
2378

changelog/3033.bugfix.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/3773.bugfix.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/3796.bugfix.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

changelog/3816.bugfix.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/3819.bugfix.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/3824.doc.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/3826.trivial.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/3833.doc.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/3843.bugfix.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/3845.trivial.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

changelog/3848.bugfix.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/3854.bugfix.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/3870.doc.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

doc/en/announce/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Release announcements
66
:maxdepth: 2
77

88

9+
release-3.7.3
910
release-3.7.2
1011
release-3.7.1
1112
release-3.7.0

doc/en/announce/release-3.7.3.rst

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
pytest-3.7.3
2+
=======================================
3+
4+
pytest 3.7.3 has just been released to PyPI.
5+
6+
This is a bug-fix release, being a drop-in replacement. To upgrade::
7+
8+
pip install --upgrade pytest
9+
10+
The full changelog is available at http://doc.pytest.org/en/latest/changelog.html.
11+
12+
Thanks to all who contributed to this release, among them:
13+
14+
* Andrew Champion
15+
* Anthony Sottile
16+
* Bruno Oliveira
17+
* Daniel Hahler
18+
* Gandalf Saxe
19+
* Jennifer Rinker
20+
* Natan Lao
21+
* Ondřej Súkup
22+
* Ronny Pfannschmidt
23+
* Sankt Petersbug
24+
* Tyler Richard
25+
* Victor
26+
* Vlad Shcherbina
27+
* turturica
28+
* victor
29+
* wim glenn
30+
31+
32+
Happy testing,
33+
The pytest Development Team

doc/en/example/parametrize.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ Running it results in some skips if we don't have all the python interpreters in
413413
. $ pytest -rs -q multipython.py
414414
...sss...sssssssss...sss... [100%]
415415
========================= short test summary info ==========================
416-
SKIP [15] $REGENDOC_TMPDIR/CWD/multipython.py:28: 'python3.4' not found
416+
SKIP [15] $REGENDOC_TMPDIR/CWD/multipython.py:29: 'python3.4' not found
417417
12 passed, 15 skipped in 0.12 seconds
418418

419419
Indirect parametrization of optional implementations/imports

doc/en/example/pythoncollection.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ the :confval:`python_files`, :confval:`python_classes` and
103103
:confval:`python_functions` configuration options.
104104
Here is an example::
105105

106-
# Example 1: have pytest look for "check" instead of "test"
107106
# content of pytest.ini
107+
# Example 1: have pytest look for "check" instead of "test"
108108
# can also be defined in tox.ini or setup.cfg file, although the section
109109
# name in setup.cfg files should be "tool:pytest"
110110
[pytest]

doc/en/example/reportingdemo.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ get on the terminal - we are working on that)::
423423
name = "abc-123"
424424
module = imp.new_module(name)
425425
code = _pytest._code.compile(src, name, "exec")
426-
py.builtin.exec_(code, module.__dict__)
426+
six.exec_(code, module.__dict__)
427427
sys.modules[name] = module
428428
> module.foo()
429429

0 commit comments

Comments
 (0)