Skip to content

Commit 6918d07

Browse files
committed
Merge remote-tracking branch 'upstream/features' into aklajnert/1682-dynamic-scope
2 parents f2f3ced + c997c32 commit 6918d07

Some content is hidden

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

48 files changed

+704
-395
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: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ Charnjit SiNGH (CCSJ)
5656
Chris Lamb
5757
Christian Boelsen
5858
Christian Fetzer
59+
Christian Neumüller
5960
Christian Theunert
6061
Christian Tismer
6162
Christopher Gilling
@@ -97,6 +98,7 @@ Feng Ma
9798
Florian Bruhin
9899
Floris Bruynooghe
99100
Gabriel Reis
101+
Gene Wood
100102
George Kussumoto
101103
Georgy Dyuldin
102104
Graham Horler
@@ -211,6 +213,7 @@ Raphael Castaneda
211213
Raphael Pierzina
212214
Raquel Alegre
213215
Ravi Chandra
216+
Robert Holt
214217
Roberto Polli
215218
Roland Puntaier
216219
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/5806.bugfix.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix "lexer" being used when uploading to bpaste.net from ``--pastebin`` to "text".

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

0 commit comments

Comments
 (0)