Skip to content

Commit

Permalink
Preparing release version 4.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoddemus committed Jan 12, 2019
1 parent 3efb26a commit 34eeda1
Show file tree
Hide file tree
Showing 11 changed files with 66 additions and 6 deletions.
32 changes: 32 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,38 @@ with advance notice in the **Deprecations** section of releases.
.. towncrier release notes start
pytest 4.1.1 (2019-01-12)
=========================

Bug Fixes
---------

- `#2256 <https://github.com/pytest-dev/pytest/issues/2256>`_: Show full repr with ``assert a==b`` and ``-vv``.


- `#3456 <https://github.com/pytest-dev/pytest/issues/3456>`_: Extend Doctest-modules to ignore mock objects.


- `#4617 <https://github.com/pytest-dev/pytest/issues/4617>`_: Fixed ``pytest.warns`` bug when context manager is reused (e.g. multiple parametrization).


- `#4631 <https://github.com/pytest-dev/pytest/issues/4631>`_: Don't rewrite assertion when ``__getattr__`` is broken



Improved Documentation
----------------------

- `#3375 <https://github.com/pytest-dev/pytest/issues/3375>`_: Document that using ``setup.cfg`` may crash other tools or cause hard to track down problems because it uses a different parser than ``pytest.ini`` or ``tox.ini`` files.



Trivial/Internal Changes
------------------------

- `#4602 <https://github.com/pytest-dev/pytest/issues/4602>`_: Uninstall ``hypothesis`` in regen tox env.


pytest 4.1.0 (2019-01-05)
=========================

Expand Down
1 change: 0 additions & 1 deletion changelog/2256.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion changelog/3375.doc.rst

This file was deleted.

1 change: 0 additions & 1 deletion changelog/3456.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion changelog/4602.trivial.rst

This file was deleted.

1 change: 0 additions & 1 deletion changelog/4617.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion changelog/4631.bugfix.rst

This file was deleted.

1 change: 1 addition & 0 deletions doc/en/announce/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Release announcements
:maxdepth: 2


release-4.1.1
release-4.1.0
release-4.0.2
release-4.0.1
Expand Down
27 changes: 27 additions & 0 deletions doc/en/announce/release-4.1.1.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
pytest-4.1.1
=======================================

pytest 4.1.1 has just been released to PyPI.

This is a bug-fix release, being a drop-in replacement. To upgrade::

pip install --upgrade pytest

The full changelog is available at https://docs.pytest.org/en/latest/changelog.html.

Thanks to all who contributed to this release, among them:

* Anthony Sottile
* Anton Lodder
* Bruno Oliveira
* Daniel Hahler
* David Vo
* Oscar Benjamin
* Ronny Pfannschmidt
* Victor Maryama
* Yoav Caspi
* dmitry.dygalo


Happy testing,
The pytest Development Team
4 changes: 4 additions & 0 deletions doc/en/cache.rst
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,8 @@ If you run this command for the first time, you can see the print statement:
def test_function(mydata):
> assert mydata == 23
E assert 42 == 23
E -42
E +23
test_caching.py:17: AssertionError
-------------------------- Captured stdout setup ---------------------------
Expand All @@ -235,6 +237,8 @@ the cache and nothing will be printed:
def test_function(mydata):
> assert mydata == 23
E assert 42 == 23
E -42
E +23
test_caching.py:17: AssertionError
1 failed in 0.12 seconds
Expand Down
2 changes: 2 additions & 0 deletions doc/en/example/parametrize.rst
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,8 @@ argument sets to use for each test function. Let's run it:
def test_equals(self, a, b):
> assert a == b
E assert 1 == 2
E -1
E +2
test_parametrize.py:18: AssertionError
1 failed, 2 passed in 0.12 seconds
Expand Down

0 comments on commit 34eeda1

Please sign in to comment.