Skip to content

Commit c997c32

Browse files
authored
Merge pull request #5856 from blueyed/mm
Merge master into features
2 parents 1675048 + 450409d commit c997c32

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+701
-392
lines changed

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@ jobs:
4343
python: 'pypy3'
4444

4545
- env: TOXENV=py35-xdist
46-
dist: trusty
47-
python: '3.5.0'
46+
python: '3.5'
4847

4948
# Coverage for:
5049
# - pytester's LsofFdLeakChecker

AUTHORS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ Andras Tim
2323
Andrea Cimatoribus
2424
Andreas Zeidler
2525
Andrey Paramonov
26+
Andrzej Klajnert
2627
Andrzej Ostrowski
2728
Andy Freeland
2829
Anthon van der Neut
@@ -55,6 +56,7 @@ Charnjit SiNGH (CCSJ)
5556
Chris Lamb
5657
Christian Boelsen
5758
Christian Fetzer
59+
Christian Neumüller
5860
Christian Theunert
5961
Christian Tismer
6062
Christopher Gilling
@@ -96,6 +98,7 @@ Feng Ma
9698
Florian Bruhin
9799
Floris Bruynooghe
98100
Gabriel Reis
101+
Gene Wood
99102
George Kussumoto
100103
Georgy Dyuldin
101104
Graham Horler
@@ -210,6 +213,7 @@ Raphael Castaneda
210213
Raphael Pierzina
211214
Raquel Alegre
212215
Ravi Chandra
216+
Robert Holt
213217
Roberto Polli
214218
Roland Puntaier
215219
Romain Dorgueil

CHANGELOG.rst

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,32 @@ with advance notice in the **Deprecations** section of releases.
1818
1919
.. towncrier release notes start
2020
21+
pytest 5.1.2 (2019-08-30)
22+
=========================
23+
24+
Bug Fixes
25+
---------
26+
27+
- `#2270 <https://github.com/pytest-dev/pytest/issues/2270>`_: Fixed ``self`` reference in function-scoped fixtures defined plugin classes: previously ``self``
28+
would be a reference to a *test* class, not the *plugin* class.
29+
30+
31+
- `#570 <https://github.com/pytest-dev/pytest/issues/570>`_: Fixed long standing issue where fixture scope was not respected when indirect fixtures were used during
32+
parametrization.
33+
34+
35+
- `#5782 <https://github.com/pytest-dev/pytest/issues/5782>`_: Fix decoding error when printing an error response from ``--pastebin``.
36+
37+
38+
- `#5786 <https://github.com/pytest-dev/pytest/issues/5786>`_: Chained exceptions in test and collection reports are now correctly serialized, allowing plugins like
39+
``pytest-xdist`` to display them properly.
40+
41+
42+
- `#5792 <https://github.com/pytest-dev/pytest/issues/5792>`_: Windows: Fix error that occurs in certain circumstances when loading
43+
``conftest.py`` from a working directory that has casing other than the one stored
44+
in the filesystem (e.g., ``c:\test`` instead of ``C:\test``).
45+
46+
2147
pytest 5.1.1 (2019-08-20)
2248
=========================
2349

changelog/5782.bugfix.rst

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

changelog/5807.bugfix.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix pypy3.6 (nightly) on windows.

changelog/5811.bugfix.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Handle ``--fulltrace`` correctly with ``pytest.raises``.

changelog/5819.bugfix.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Windows: Fix regression with conftest whose qualified name contains uppercase
2+
characters (introduced by #5792).

doc/en/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ REGENDOC_ARGS := \
1616
--normalize "/[ \t]+\n/\n/" \
1717
--normalize "~\$$REGENDOC_TMPDIR~/home/sweet/project~" \
1818
--normalize "~/path/to/example~/home/sweet/project~" \
19-
--normalize "/in \d+.\d+ seconds/in 0.12 seconds/" \
19+
--normalize "/in \d+.\d+s ==/in 0.12s ==/" \
2020
--normalize "@/tmp/pytest-of-.*/pytest-\d+@PYTEST_TMPDIR@" \
2121
--normalize "@pytest-(\d+)\\.[^ ,]+@pytest-\1.x.y@" \
2222
--normalize "@(This is pytest version )(\d+)\\.[^ ,]+@\1\2.x.y@" \

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-5.1.2
910
release-5.1.1
1011
release-5.1.0
1112
release-5.0.1

doc/en/announce/release-5.1.2.rst

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
pytest-5.1.2
2+
=======================================
3+
4+
pytest 5.1.2 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 https://docs.pytest.org/en/latest/changelog.html.
11+
12+
Thanks to all who contributed to this release, among them:
13+
14+
* Andrzej Klajnert
15+
* Anthony Sottile
16+
* Bruno Oliveira
17+
* Christian Neumüller
18+
* Robert Holt
19+
* linchiwei123
20+
21+
22+
Happy testing,
23+
The pytest Development Team

0 commit comments

Comments
 (0)