|
15 | 15 | * Provide ``:ref:`` targets for ``recwarn.rst`` so we can use intersphinx referencing.
|
16 | 16 | Thanks to `@dupuy`_ for the report and `@lwm`_ for the PR.
|
17 | 17 |
|
| 18 | +* In Python 2, use a simple ``+-`` ASCII string in the string representation of ``pytest.approx`` (for example ``"4 +- 4.0e-06"``) |
| 19 | + because it is brittle to handle that in different contexts and representations internally in pytest |
| 20 | + which can result in bugs such as `#2111`_. In Python 3, the representation still uses ``±`` (for example ``4 ± 4.0e-06``). |
| 21 | + Thanks `@kerrick-lyft`_ for the report and `@nicoddemus`_ for the PR. |
| 22 | + |
18 | 23 | * Using ``item.Function``, ``item.Module``, etc., is now issuing deprecation warnings, prefer
|
19 | 24 | ``pytest.Function``, ``pytest.Module``, etc., instead (`#2034`_).
|
20 | 25 | Thanks `@nmundar`_ for the PR.
|
|
42 | 47 |
|
43 | 48 | *
|
44 | 49 |
|
45 |
| -.. _@mbukatov: https://github.com/mbukatov |
46 |
| -.. _@dupuy: https://bitbucket.org/dupuy/ |
47 |
| -.. _@d-b-w: https://bitbucket.org/d-b-w/ |
48 |
| -.. _@lwm: https://github.com/lwm |
49 | 50 | .. _@adler-j: https://github.com/adler-j
|
| 51 | +.. _@d-b-w: https://bitbucket.org/d-b-w/ |
50 | 52 | .. _@DuncanBetts: https://github.com/DuncanBetts
|
| 53 | +.. _@dupuy: https://bitbucket.org/dupuy/ |
| 54 | +.. _@kerrick-lyft: https://github.com/kerrick-lyft |
| 55 | +.. _@lwm: https://github.com/lwm |
| 56 | +.. _@mbukatov: https://github.com/mbukatov |
51 | 57 | .. _@nedbat: https://github.com/nedbat
|
52 | 58 | .. _@nmundar: https://github.com/nmundar
|
53 | 59 |
|
54 |
| -.. _#2089: https://github.com/pytest-dev/pytest/issues/2089 |
55 |
| -.. _#478: https://github.com/pytest-dev/pytest/issues/478 |
56 |
| -.. _#687: https://github.com/pytest-dev/pytest/issues/687 |
57 | 60 | .. _#2016: https://github.com/pytest-dev/pytest/issues/2016
|
58 | 61 | .. _#2034: https://github.com/pytest-dev/pytest/issues/2034
|
59 | 62 | .. _#2038: https://github.com/pytest-dev/pytest/issues/2038
|
60 | 63 | .. _#2078: https://github.com/pytest-dev/pytest/issues/2078
|
61 | 64 | .. _#2082: https://github.com/pytest-dev/pytest/issues/2082
|
| 65 | +.. _#2089: https://github.com/pytest-dev/pytest/issues/2089 |
62 | 66 | .. _#2103: https://github.com/pytest-dev/pytest/issues/2103
|
63 | 67 | .. _#2105: https://github.com/pytest-dev/pytest/issues/2105
|
| 68 | +.. _#2111: https://github.com/pytest-dev/pytest/issues/2111 |
| 69 | +.. _#478: https://github.com/pytest-dev/pytest/issues/478 |
| 70 | +.. _#687: https://github.com/pytest-dev/pytest/issues/687 |
64 | 71 |
|
65 | 72 |
|
66 | 73 | 3.0.4
|
|
0 commit comments