Skip to content

Commit 1a9f4a5

Browse files
committed
Preparing release version 5.1.3
1 parent 892bdd5 commit 1a9f4a5

18 files changed

+71
-35
lines changed

CHANGELOG.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,22 @@ 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+
2137
pytest 5.1.2 (2019-08-30)
2238
=========================
2339

changelog/5807.bugfix.rst

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

changelog/5811.bugfix.rst

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

changelog/5819.bugfix.rst

Lines changed: 0 additions & 2 deletions
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-5.1.3
910
release-5.1.2
1011
release-5.1.1
1112
release-5.1.0

doc/en/announce/release-5.1.3.rst

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
pytest-5.1.3
2+
=======================================
3+
4+
pytest 5.1.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 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+
* Christian Neumüller
17+
* Daniel Hahler
18+
* Gene Wood
19+
* Hugo
20+
21+
22+
Happy testing,
23+
The pytest Development Team

doc/en/assert.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ the conftest file:
279279
E vals: 1 != 2
280280
281281
test_foocompare.py:12: AssertionError
282-
1 failed in 0.02s
282+
1 failed in 0.12s
283283
284284
.. _assert-details:
285285
.. _`assert introspection`:

doc/en/builtin.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ For information about fixtures, see :ref:`fixtures`. To see a complete list of a
160160
in python < 3.6 this is a pathlib2.Path
161161
162162
163-
no tests ran in 0.00s
163+
no tests ran in 0.12s
164164
165165
You can also interactively ask for help, e.g. by typing on the Python interactive prompt something like:
166166

doc/en/cache.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ If you run this for the first time you will see two failures:
7575
E Failed: bad luck
7676
7777
test_50.py:7: Failed
78-
2 failed, 48 passed in 0.07s
78+
2 failed, 48 passed in 0.12s
7979
8080
If you then run it with ``--lf``:
8181

@@ -230,7 +230,7 @@ If you run this command for the first time, you can see the print statement:
230230
test_caching.py:20: AssertionError
231231
-------------------------- Captured stdout setup ---------------------------
232232
running expensive computation...
233-
1 failed in 0.02s
233+
1 failed in 0.12s
234234
235235
If you run it a second time, the value will be retrieved from
236236
the cache and nothing will be printed:
@@ -249,7 +249,7 @@ the cache and nothing will be printed:
249249
E assert 42 == 23
250250
251251
test_caching.py:20: AssertionError
252-
1 failed in 0.02s
252+
1 failed in 0.12s
253253
254254
See the :ref:`cache-api` for more details.
255255

doc/en/example/markers.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ The output is as follows:
499499
$ pytest -q -s
500500
Mark(name='my_marker', args=(<function hello_world at 0xdeadbeef>,), kwargs={})
501501
.
502-
1 passed in 0.01s
502+
1 passed in 0.12s
503503
504504
We can see that the custom marker has its argument set extended with the function ``hello_world``. This is the key difference between creating a custom marker as a callable, which invokes ``__call__`` behind the scenes, and using ``with_args``.
505505

@@ -551,7 +551,7 @@ Let's run this without capturing output and see what we get:
551551
glob args=('class',) kwargs={'x': 2}
552552
glob args=('module',) kwargs={'x': 1}
553553
.
554-
1 passed in 0.02s
554+
1 passed in 0.12s
555555
556556
marking platform specific tests with pytest
557557
--------------------------------------------------------------

0 commit comments

Comments
 (0)