test_ok2/changelog
Ran Benita 675e9507d8 Don't accept bytes message in pytest.{fail,xfail,skip}
It seems to have been added in #1439 to fix #1178.

This was only relevant for Python 2 where it was tempting to use str (==
bytes) literals instead of unicode literals. In Python 3, it is unlikely
that anyone passes bytes to these functions.
2019-07-17 22:39:10 +03:00
..
5180.removal.rst Make 'request' a reserved name for fixtures 2019-06-30 13:31:39 -03:00
5477.bugfix.rst Include <testsuites> root tag in generated XML 2019-07-05 11:29:35 -03:00
5523.bugfix.rst Apply workaround for multiple short options for Python <= 3.8 2019-07-04 14:59:40 +02:00
5537.bugfix.rst Replace importlib_metadata with importlib.metadata on Python 3.8+ 2019-07-04 15:00:10 +02:00
5564.feature.rst Update CHANGELOG 2019-07-06 17:29:35 -03:00
5565.removal.rst Remove support code for unittest 2 2019-07-11 20:11:06 -03:00
5576.feature.rst changelog for new NUMBERS doctest option 2019-07-08 17:16:35 +01:00
5603.trivial.rst saferepr: Avoid indirect function calls 2019-07-15 17:07:58 +03:00
5615.removal.rst Don't accept bytes message in pytest.{fail,xfail,skip} 2019-07-17 22:39:10 +03:00
README.rst Separate deprecations and removals in the CHANGELOG 2018-09-13 14:02:01 -03:00
_template.rst Update CHANGELOG template to put issue links at the start of entries 2018-07-07 11:02:33 -03:00

README.rst

This directory contains "newsfragments" which are short files that contain a small **ReST**-formatted
text that will be added to the next ``CHANGELOG``.

The ``CHANGELOG`` will be read by users, so this description should be aimed to pytest users
instead of describing internal changes which are only relevant to the developers.

Make sure to use full sentences with correct case and punctuation, for example::

    Fix issue with non-ascii messages from the ``warnings`` module.

Each file should be named like ``<ISSUE>.<TYPE>.rst``, where
``<ISSUE>`` is an issue number, and ``<TYPE>`` is one of:

* ``feature``: new user facing features, like new command-line options and new behavior.
* ``bugfix``: fixes a reported bug.
* ``doc``: documentation improvement, like rewording an entire session or adding missing docs.
* ``deprecation``: feature deprecation.
* ``removal``: feature removal.
* ``vendor``: changes in packages vendored in pytest.
* ``trivial``: fixing a small typo or internal change that might be noteworthy.

So for example: ``123.feature.rst``, ``456.bugfix.rst``.

If your PR fixes an issue, use that number here. If there is no issue,
then after you submit the PR and get the PR number you can add a
changelog using that instead.

If you are not sure what issue type to use, don't hesitate to ask in your PR.

``towncrier`` preserves multiple paragraphs and formatting (code blocks, lists, and so on), but for entries
other than ``features`` it is usually better to stick to a single paragraph to keep it concise. You can install
``towncrier`` and then run ``towncrier --draft``
if you want to get a preview of how your change will look in the final release notes.