Merge pull request #1429 from Zearin/patch-1
Minor README tweaks (markup, phrasing)
This commit is contained in:
commit
b7b863b7bf
|
@ -23,25 +23,25 @@
|
||||||
* New ``-rp`` and ``-rP`` reporting options give the summary and full output
|
* New ``-rp`` and ``-rP`` reporting options give the summary and full output
|
||||||
of passing tests, respectively. Thanks to `@codewarrior0`_ for the PR.
|
of passing tests, respectively. Thanks to `@codewarrior0`_ for the PR.
|
||||||
|
|
||||||
* ``pytest.mark.xfail`` now has a ``strict`` option which makes ``XPASS``
|
* ``pytest.mark.xfail`` now has a ``strict`` option, which makes ``XPASS``
|
||||||
tests to fail the test suite, defaulting to ``False``. There's also a
|
tests to fail the test suite (defaulting to ``False``). There's also a
|
||||||
``xfail_strict`` ini option that can be used to configure it project-wise.
|
``xfail_strict`` ini option that can be used to configure it project-wise.
|
||||||
Thanks `@rabbbit`_ for the request and `@nicoddemus`_ for the PR (`#1355`_).
|
Thanks `@rabbbit`_ for the request and `@nicoddemus`_ for the PR (`#1355`_).
|
||||||
|
|
||||||
* ``Parser.addini`` now supports options of type ``bool``. Thanks
|
* ``Parser.addini`` now supports options of type ``bool``.
|
||||||
`@nicoddemus`_ for the PR.
|
Thanks `@nicoddemus`_ for the PR.
|
||||||
|
|
||||||
* New ``ALLOW_BYTES`` doctest option strips ``b`` prefixes from byte strings
|
* New ``ALLOW_BYTES`` doctest option. This strips ``b`` prefixes from byte strings
|
||||||
in doctest output (similar to ``ALLOW_UNICODE``).
|
in doctest output (similar to ``ALLOW_UNICODE``).
|
||||||
Thanks `@jaraco`_ for the request and `@nicoddemus`_ for the PR (`#1287`_).
|
Thanks `@jaraco`_ for the request and `@nicoddemus`_ for the PR (`#1287`_).
|
||||||
|
|
||||||
* give a hint on KeyboardInterrupt to use the --fulltrace option to show the errors,
|
* Give a hint on ``KeyboardInterrupt`` to use the ``--fulltrace`` option to show the errors.
|
||||||
this fixes `#1366`_.
|
Fixes `#1366`_.
|
||||||
Thanks to `@hpk42`_ for the report and `@RonnyPfannschmidt`_ for the PR.
|
Thanks to `@hpk42`_ for the report and `@RonnyPfannschmidt`_ for the PR.
|
||||||
|
|
||||||
* catch IndexError exceptions when getting exception source location. This fixes
|
* Catch ``IndexError`` exceptions when getting exception source location.
|
||||||
pytest internal error for dynamically generated code (fixtures and tests)
|
Fixes a pytest internal error for dynamically generated code (fixtures and tests)
|
||||||
where source lines are fake by intention
|
where source lines are fake by intention.
|
||||||
|
|
||||||
**Changes**
|
**Changes**
|
||||||
|
|
||||||
|
@ -68,14 +68,14 @@
|
||||||
Thanks `@nicoddemus`_ for the PR (`#1226`_).
|
Thanks `@nicoddemus`_ for the PR (`#1226`_).
|
||||||
|
|
||||||
* Comparisons now always show up in full when ``CI`` or ``BUILD_NUMBER`` is
|
* Comparisons now always show up in full when ``CI`` or ``BUILD_NUMBER`` is
|
||||||
found in the environment, even when -vv isn't used.
|
found in the environment, even when ``-vv`` isn't used.
|
||||||
Thanks `@The-Compiler`_ for the PR.
|
Thanks `@The-Compiler`_ for the PR.
|
||||||
|
|
||||||
* ``--lf`` and ``--ff`` now support long names: ``--last-failed`` and
|
* ``--lf`` and ``--ff`` now support long names: ``--last-failed`` and
|
||||||
``--failed-first`` respectively.
|
``--failed-first`` respectively.
|
||||||
Thanks `@MichaelAquilina`_ for the PR.
|
Thanks `@MichaelAquilina`_ for the PR.
|
||||||
|
|
||||||
* Added expected exceptions to pytest.raises fail message
|
* Added expected exceptions to ``pytest.raises`` fail message.
|
||||||
|
|
||||||
* Collection only displays progress ("collecting X items") when in a terminal.
|
* Collection only displays progress ("collecting X items") when in a terminal.
|
||||||
This avoids cluttering the output when using ``--color=yes`` to obtain
|
This avoids cluttering the output when using ``--color=yes`` to obtain
|
||||||
|
|
Loading…
Reference in New Issue