|
3 | 3 |
|
4 | 4 | **Bug Fixes**
|
5 | 5 |
|
6 |
| -* |
| 6 | +* fix `#510`_: skip tests where one parameterize dimension was empty |
| 7 | + thanks Alex Stapleton for the Report and `@RonnyPfannschmidt`_ for the PR |
7 | 8 |
|
8 |
| -* Fix win32 path issue when puttinging custom config file with absolute path |
| 9 | +* Fix win32 path issue when puttinging custom config file with absolute path |
9 | 10 | in ``pytest.main("-c your_absolute_path")``.
|
10 | 11 |
|
11 | 12 | * Fix maximum recursion depth detection when raised error class is not aware
|
|
78 | 79 | ``xfail_strict`` ini option that can be used to configure it project-wise.
|
79 | 80 | Thanks `@rabbbit`_ for the request and `@nicoddemus`_ for the PR (`#1355`_).
|
80 | 81 |
|
81 |
| -* ``Parser.addini`` now supports options of type ``bool``. |
| 82 | +* ``Parser.addini`` now supports options of type ``bool``. |
82 | 83 | Thanks `@nicoddemus`_ for the PR.
|
83 | 84 |
|
84 | 85 | * New ``ALLOW_BYTES`` doctest option. This strips ``b`` prefixes from byte strings
|
|
89 | 90 | Fixes `#1366`_.
|
90 | 91 | Thanks to `@hpk42`_ for the report and `@RonnyPfannschmidt`_ for the PR.
|
91 | 92 |
|
92 |
| -* Catch ``IndexError`` exceptions when getting exception source location. |
| 93 | +* Catch ``IndexError`` exceptions when getting exception source location. |
93 | 94 | Fixes a pytest internal error for dynamically generated code (fixtures and tests)
|
94 | 95 | where source lines are fake by intention.
|
95 | 96 |
|
96 | 97 | **Changes**
|
97 | 98 |
|
98 | 99 | * **Important**: `py.code <https://pylib.readthedocs.io/en/latest/code.html>`_ has been
|
99 |
| - merged into the ``pytest`` repository as ``pytest._code``. This decision |
100 |
| - was made because ``py.code`` had very few uses outside ``pytest`` and the |
101 |
| - fact that it was in a different repository made it difficult to fix bugs on |
| 100 | + merged into the ``pytest`` repository as ``pytest._code``. This decision |
| 101 | + was made because ``py.code`` had very few uses outside ``pytest`` and the |
| 102 | + fact that it was in a different repository made it difficult to fix bugs on |
102 | 103 | its code in a timely manner. The team hopes with this to be able to better
|
103 | 104 | refactor out and improve that code.
|
104 | 105 | This change shouldn't affect users, but it is useful to let users aware
|
105 | 106 | if they encounter any strange behavior.
|
106 |
| - |
107 |
| - Keep in mind that the code for ``pytest._code`` is **private** and |
| 107 | + |
| 108 | + Keep in mind that the code for ``pytest._code`` is **private** and |
108 | 109 | **experimental**, so you definitely should not import it explicitly!
|
109 | 110 |
|
110 |
| - Please note that the original ``py.code`` is still available in |
| 111 | + Please note that the original ``py.code`` is still available in |
111 | 112 | `pylib <https://pylib.readthedocs.io>`_.
|
112 | 113 |
|
113 | 114 | * ``pytest_enter_pdb`` now optionally receives the pytest config object.
|
|
201 | 202 | - fix #1292: monkeypatch calls (setattr, setenv, etc.) are now O(1).
|
202 | 203 | Thanks David R. MacIver for the report and Bruno Oliveira for the PR.
|
203 | 204 |
|
204 |
| -- fix #1223: captured stdout and stderr are now properly displayed before |
| 205 | +- fix #1223: captured stdout and stderr are now properly displayed before |
205 | 206 | entering pdb when ``--pdb`` is used instead of being thrown away.
|
206 | 207 | Thanks Cal Leeming for the PR.
|
207 | 208 |
|
|
276 | 277 | Thanks Gabriel Reis for the PR.
|
277 | 278 |
|
278 | 279 | - add more talks to the documentation
|
279 |
| -- extend documentation on the --ignore cli option |
280 |
| -- use pytest-runner for setuptools integration |
| 280 | +- extend documentation on the --ignore cli option |
| 281 | +- use pytest-runner for setuptools integration |
281 | 282 | - minor fixes for interaction with OS X El Capitan
|
282 | 283 | system integrity protection (thanks Florian)
|
283 | 284 |
|
|
0 commit comments