Skip to content

Commit 6e5538b

Browse files
author
Daniil Galiev
committed
Merge branch 'master' into fix-package-skipping
2 parents 3eac3ca + 6bfd30d commit 6e5538b

Some content is hidden

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

69 files changed

+1301
-540
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: 5 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
@@ -97,6 +99,7 @@ Feng Ma
9799
Florian Bruhin
98100
Floris Bruynooghe
99101
Gabriel Reis
102+
Gene Wood
100103
George Kussumoto
101104
Georgy Dyuldin
102105
Graham Horler
@@ -174,6 +177,7 @@ mbyt
174177
Michael Aquilina
175178
Michael Birtwell
176179
Michael Droettboom
180+
Michael Goerz
177181
Michael Seifert
178182
Michal Wajszczuk
179183
Mihai Capotă
@@ -210,6 +214,7 @@ Raphael Castaneda
210214
Raphael Pierzina
211215
Raquel Alegre
212216
Ravi Chandra
217+
Robert Holt
213218
Roberto Polli
214219
Roland Puntaier
215220
Romain Dorgueil

CHANGELOG.rst

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,48 @@ with advance notice in the **Deprecations** section of releases.
1818
1919
.. towncrier release notes start
2020
21+
pytest 5.1.3 (2019-09-18)
22+
=========================
23+
24+
Bug Fixes
25+
---------
26+
27+
- `#5807 <https://github.com/pytest-dev/pytest/issues/5807>`_: Fix pypy3.6 (nightly) on windows.
28+
29+
30+
- `#5811 <https://github.com/pytest-dev/pytest/issues/5811>`_: Handle ``--fulltrace`` correctly with ``pytest.raises``.
31+
32+
33+
- `#5819 <https://github.com/pytest-dev/pytest/issues/5819>`_: Windows: Fix regression with conftest whose qualified name contains uppercase
34+
characters (introduced by #5792).
35+
36+
37+
pytest 5.1.2 (2019-08-30)
38+
=========================
39+
40+
Bug Fixes
41+
---------
42+
43+
- `#2270 <https://github.com/pytest-dev/pytest/issues/2270>`_: Fixed ``self`` reference in function-scoped fixtures defined plugin classes: previously ``self``
44+
would be a reference to a *test* class, not the *plugin* class.
45+
46+
47+
- `#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
48+
parametrization.
49+
50+
51+
- `#5782 <https://github.com/pytest-dev/pytest/issues/5782>`_: Fix decoding error when printing an error response from ``--pastebin``.
52+
53+
54+
- `#5786 <https://github.com/pytest-dev/pytest/issues/5786>`_: Chained exceptions in test and collection reports are now correctly serialized, allowing plugins like
55+
``pytest-xdist`` to display them properly.
56+
57+
58+
- `#5792 <https://github.com/pytest-dev/pytest/issues/5792>`_: Windows: Fix error that occurs in certain circumstances when loading
59+
``conftest.py`` from a working directory that has casing other than the one stored
60+
in the filesystem (e.g., ``c:\test`` instead of ``C:\test``).
61+
62+
2163
pytest 5.1.1 (2019-08-20)
2264
=========================
2365

changelog/1682.deprecation.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Passing arguments to pytest.fixture() as positional arguments is deprecated - pass them
2+
as a keyword argument instead.

changelog/1682.feature.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
The ``scope`` parameter of ``@pytest.fixture`` can now be a callable that receives
2+
the fixture name and the ``config`` object as keyword-only parameters.
3+
See `the docs <https://docs.pytest.org/en/fixture.html#dynamic-scope>`__ for more information.

changelog/5056.trivial.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
The HelpFormatter uses ``py.io.get_terminal_width`` for better width detection.

changelog/5764.feature.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
New behavior of the ``--pastebin`` option: failures to connect to the pastebin server are reported, without failing the pytest run

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".

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\ds/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@" \

0 commit comments

Comments
 (0)