Skip to content

Commit

Permalink
Prepare release version 6.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
pytestbot committed Sep 26, 2020
1 parent 0b327cc commit 868bc00
Show file tree
Hide file tree
Showing 27 changed files with 237 additions and 110 deletions.
1 change: 0 additions & 1 deletion changelog/1477.doc.rst

This file was deleted.

20 changes: 0 additions & 20 deletions changelog/1953.bugfix.rst

This file was deleted.

3 changes: 0 additions & 3 deletions changelog/4984.bugfix.rst

This file was deleted.

18 changes: 0 additions & 18 deletions changelog/5585.breaking.rst

This file was deleted.

3 changes: 0 additions & 3 deletions changelog/6681.improvement.rst

This file was deleted.

1 change: 0 additions & 1 deletion changelog/6981.deprecation.rst

This file was deleted.

6 changes: 0 additions & 6 deletions changelog/7097.deprecation.rst

This file was deleted.

5 changes: 0 additions & 5 deletions changelog/7210.deprecation.rst

This file was deleted.

2 changes: 0 additions & 2 deletions changelog/7255.deprecation.rst

This file was deleted.

3 changes: 0 additions & 3 deletions changelog/7536.trivial.rst

This file was deleted.

1 change: 0 additions & 1 deletion changelog/7572.improvement.rst

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

2 changes: 0 additions & 2 deletions changelog/7631.trivial.rst

This file was deleted.

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

This file was deleted.

3 changes: 0 additions & 3 deletions changelog/7648.deprecation.rst

This file was deleted.

1 change: 0 additions & 1 deletion changelog/7667.feature.rst

This file was deleted.

6 changes: 0 additions & 6 deletions changelog/7671.trivial.rst

This file was deleted.

3 changes: 0 additions & 3 deletions changelog/7685.improvement.rst

This file was deleted.

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

This file was deleted.

3 changes: 0 additions & 3 deletions changelog/7780.improvement.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-6.1.0
release-6.0.2
release-6.0.1
release-6.0.0
Expand Down
44 changes: 44 additions & 0 deletions doc/en/announce/release-6.1.0.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
pytest-6.1.0
=======================================

The pytest team is proud to announce the 6.1.0 release!

This release contains new features, improvements, bug fixes, and breaking changes, so users
are encouraged to take a look at the CHANGELOG carefully:

https://docs.pytest.org/en/stable/changelog.html

For complete documentation, please visit:

https://docs.pytest.org/en/stable/

As usual, you can upgrade from PyPI via:

pip install -U pytest

Thanks to all of the contributors to this release:

* Anthony Sottile
* Bruno Oliveira
* C. Titus Brown
* Drew Devereux
* Faris A Chugthai
* Florian Bruhin
* Hugo van Kemenade
* Hynek Schlawack
* Joseph Lucas
* Kamran Ahmad
* Mattreex
* Maximilian Cosmo Sitter
* Ran Benita
* Rüdiger Busche
* Sam Estep
* Sorin Sbarnea
* Thomas Grainger
* Vipul Kumar
* Yutaro Ikeda
* hp310780


Happy testing,
The pytest Development Team
54 changes: 31 additions & 23 deletions doc/en/builtin.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ For information about fixtures, see :ref:`fixtures`. To see a complete list of a
cache.get(key, default)
cache.set(key, value)
Keys must be a ``/`` separated value, where the first part is usually the
Keys must be ``/`` separated strings, where the first part is usually the
name of your plugin or application to avoid clashes with other cache users.
Values can be any object handled by the json stdlib module.
Expand Down Expand Up @@ -57,7 +57,8 @@ For information about fixtures, see :ref:`fixtures`. To see a complete list of a
``out`` and ``err`` will be ``byte`` objects.
doctest_namespace [session scope]
Fixture that returns a :py:class:`dict` that will be injected into the namespace of doctests.
Fixture that returns a :py:class:`dict` that will be injected into the
namespace of doctests.
pytestconfig [session scope]
Session-scoped fixture that returns the :class:`_pytest.config.Config` object.
Expand Down Expand Up @@ -89,8 +90,10 @@ For information about fixtures, see :ref:`fixtures`. To see a complete list of a
automatically XML-encoded.
record_testsuite_property [session scope]
Records a new ``<property>`` tag as child of the root ``<testsuite>``. This is suitable to
writing global information regarding the entire test suite, and is compatible with ``xunit2`` JUnit family.
Record a new ``<property>`` tag as child of the root ``<testsuite>``.
This is suitable to writing global information regarding the entire test
suite, and is compatible with ``xunit2`` JUnit family.
This is a ``session``-scoped fixture which is called with ``(name, value)``. Example:
Expand All @@ -102,6 +105,12 @@ For information about fixtures, see :ref:`fixtures`. To see a complete list of a
``name`` must be a string, ``value`` will be converted to a string and properly xml-escaped.
.. warning::
Currently this fixture **does not work** with the
`pytest-xdist <https://github.com/pytest-dev/pytest-xdist>`__ plugin. See issue
`#7767 <https://github.com/pytest-dev/pytest/issues/7767>`__ for details.
caplog
Access and control log capturing.
Expand All @@ -114,8 +123,10 @@ For information about fixtures, see :ref:`fixtures`. To see a complete list of a
* caplog.clear() -> clear captured records and formatted log output string
monkeypatch
The returned ``monkeypatch`` fixture provides these
helper methods to modify objects, dictionaries or os.environ::
A convenient fixture for monkey-patching.
The fixture provides these methods to modify objects, dictionaries or
os.environ::
monkeypatch.setattr(obj, name, value, raising=True)
monkeypatch.delattr(obj, name, raising=True)
Expand All @@ -126,10 +137,9 @@ For information about fixtures, see :ref:`fixtures`. To see a complete list of a
monkeypatch.syspath_prepend(path)
monkeypatch.chdir(path)
All modifications will be undone after the requesting
test function or fixture has finished. The ``raising``
parameter determines if a KeyError or AttributeError
will be raised if the set/deletion operation has no target.
All modifications will be undone after the requesting test function or
fixture has finished. The ``raising`` parameter determines if a KeyError
or AttributeError will be raised if the set/deletion operation has no target.
recwarn
Return a :class:`WarningsRecorder` instance that records all warnings emitted by test functions.
Expand All @@ -140,30 +150,28 @@ For information about fixtures, see :ref:`fixtures`. To see a complete list of a
tmpdir_factory [session scope]
Return a :class:`_pytest.tmpdir.TempdirFactory` instance for the test session.
tmp_path_factory [session scope]
Return a :class:`_pytest.tmpdir.TempPathFactory` instance for the test session.
tmpdir
Return a temporary directory path object
which is unique to each test function invocation,
created as a sub directory of the base temporary
directory. The returned object is a `py.path.local`_
path object.
Return a temporary directory path object which is unique to each test
function invocation, created as a sub directory of the base temporary
directory.
The returned object is a `py.path.local`_ path object.
.. _`py.path.local`: https://py.readthedocs.io/en/latest/path.html
tmp_path
Return a temporary directory path object
which is unique to each test function invocation,
created as a sub directory of the base temporary
directory. The returned object is a :class:`pathlib.Path`
object.
Return a temporary directory path object which is unique to each test
function invocation, created as a sub directory of the base temporary
directory.
The returned object is a :class:`pathlib.Path` object.
.. note::
in python < 3.6 this is a pathlib2.Path
In python < 3.6 this is a pathlib2.Path.
no tests ran in 0.12s
Expand Down
Loading

0 comments on commit 868bc00

Please sign in to comment.