Skip to content

Commit fb7bbf8

Browse files
committed
Merge branch 'strict-xpass'
2 parents 1d190dc + 9aae4b7 commit fb7bbf8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

CHANGELOG.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,15 @@
1212
* New ``-rp`` and ``-rP`` reporting options give the summary and full output
1313
of passing tests, respectively. Thanks to `@codewarrior0`_ for the PR.
1414

15+
* ``pytest.mark.xfail`` now has a ``strict`` option which makes ``XPASS``ing
16+
tests to fail the test suite, defaulting to ``False``. There's also a
17+
``xfail_strict`` ini option that can be used to configure it project-wise.
18+
Thanks `@rabbbit`_ for the request and `@nicoddemus`_ for the PR (`#1355`_).
19+
1520
* New ``ALLOW_BYTES`` doctest option strips ``b`` prefixes from byte strings
1621
in doctest output (similar to ``ALLOW_UNICODE``).
1722
Thanks `@jaraco`_ for the request and `@nicoddemus`_ for the PR (`#1287`_).
23+
1824
* give a hint on KeyboardInterrupt to use the --fulltrace option to show the errors,
1925
this fixes `#1366`_.
2026
Thanks to `@hpk42`_ for the report and `@RonnyPfannschmidt`_ for the PR.
@@ -72,6 +78,7 @@
7278
.. _#1287: https://github.com/pytest-dev/pytest/pull/1287
7379
.. _#1226: https://github.com/pytest-dev/pytest/pull/1226
7480
.. _#1290: https://github.com/pytest-dev/pytest/pull/1290
81+
.. _#1355: https://github.com/pytest-dev/pytest/pull/1355
7582
.. _@biern: https://github.com/biern
7683
.. _@MichaelAquilina: https://github.com/MichaelAquilina
7784
.. _@bukzor: https://github.com/bukzor
@@ -84,6 +91,7 @@
8491
.. _@Shinkenjoe: https://github.com/Shinkenjoe
8592
.. _@tomviner: https://github.com/tomviner
8693
.. _@RonnyPfannschmidt: https://github.com/RonnyPfannschmidt
94+
.. _@rabbbit: https://github.com/rabbbit
8795

8896
2.8.7
8997
-----

0 commit comments

Comments
 (0)