Skip to content

Commit 955dc6d

Browse files
committed
Merge remote-tracking branch 'upstream/master' into robholt/fixture-class-instance
2 parents 3ddbc7f + 01082fe commit 955dc6d

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

+624
-418
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ repos:
2626
hooks:
2727
- id: flake8
2828
language_version: python3
29-
additional_dependencies: [flake8-typing-imports]
29+
additional_dependencies: [flake8-typing-imports==1.3.0]
3030
- repo: https://github.com/asottile/reorder_python_imports
3131
rev: v1.4.0
3232
hooks:

.travis.yml

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

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

4849
# Coverage for:
4950
# - pytester's LsofFdLeakChecker

AUTHORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ Charnjit SiNGH (CCSJ)
5555
Chris Lamb
5656
Christian Boelsen
5757
Christian Fetzer
58+
Christian Neumüller
5859
Christian Theunert
5960
Christian Tismer
6061
Christopher Gilling

CHANGELOG.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,15 @@ with advance notice in the **Deprecations** section of releases.
1818
1919
.. towncrier release notes start
2020
21+
pytest 5.1.1 (2019-08-20)
22+
=========================
23+
24+
Bug Fixes
25+
---------
26+
27+
- `#5751 <https://github.com/pytest-dev/pytest/issues/5751>`_: Fixed ``TypeError`` when importing pytest on Python 3.5.0 and 3.5.1.
28+
29+
2130
pytest 5.1.0 (2019-08-15)
2231
=========================
2332

changelog/5782.bugfix.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix decoding error when printing an error response from ``--pastebin``.

changelog/5786.bugfix.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Chained exceptions in test and collection reports are now correctly serialized, allowing plugins like
2+
``pytest-xdist`` to display them properly.

changelog/5792.bugfix.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Windows: Fix error that occurs in certain circumstances when loading
2+
``conftest.py`` from a working directory that has casing other than the one stored
3+
in the filesystem (e.g., ``c:\test`` instead of ``C:\test``).

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.1
910
release-5.1.0
1011
release-5.0.1
1112
release-5.0.0

doc/en/announce/release-5.1.1.rst

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
pytest-5.1.1
2+
=======================================
3+
4+
pytest 5.1.1 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+
* Anthony Sottile
15+
* Bruno Oliveira
16+
* Daniel Hahler
17+
* Florian Bruhin
18+
* Hugo van Kemenade
19+
* Ran Benita
20+
* Ronny Pfannschmidt
21+
22+
23+
Happy testing,
24+
The pytest Development Team

doc/en/assert.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ you will see the return value of the function call:
4747
E + where 3 = f()
4848
4949
test_assert1.py:6: AssertionError
50-
============================ 1 failed in 0.05s =============================
50+
============================ 1 failed in 0.02s =============================
5151
5252
``pytest`` has support for showing the values of the most common subexpressions
5353
including calls, attributes, comparisons, and binary and unary
@@ -208,7 +208,7 @@ if you run this module:
208208
E Use -v to get the full diff
209209
210210
test_assert2.py:6: AssertionError
211-
============================ 1 failed in 0.05s =============================
211+
============================ 1 failed in 0.02s =============================
212212
213213
Special comparisons are done for a number of cases:
214214

@@ -279,7 +279,7 @@ the conftest file:
279279
E vals: 1 != 2
280280
281281
test_foocompare.py:12: AssertionError
282-
1 failed in 0.05s
282+
1 failed in 0.02s
283283
284284
.. _assert-details:
285285
.. _`assert introspection`:

0 commit comments

Comments
 (0)