1
0
forked from pool/python-pytest
Files
python-pytest/python-pytest-doc.changes
Dominique Leuenberger f71322f608 Accepting request 579198 from devel:languages:python
- update to 3.4.1
* Move import of doctest.UnexpectedException to top-level to avoid possible
  errors when using --pdb.
* Added printing of captured stdout/stderr before entering pdb, and improved a
  test which was giving false negatives about output capturing.
* Fix ordering of tests using parametrized fixtures which can lead to fixtures
  being created more than necessary.
* Fix bug where logging happening at hooks outside of "test run" hooks would
  cause an internal error.
* Detect arguments injected by unittest.mock.patch decorator correctly when
  pypi mock.patch is installed and imported.
* Errors shown when a pytest.raises() with match= fails are now cleaner
  on what happened: When no exception was raised, the "matching '...'" part got
  removed as it falsely implies that an exception was raised but it didn't
  match. When a wrong exception was raised, it's now thrown 
  instead of complaining about the unmatched text.
* Add Sphinx parameter docs for match and message args to pytest.raises
* Rename ParameterSet._for_parameterize() to _for_parametrize() in
    order to comply with the naming convention.

- update to 3.4.1
* Move import of doctest.UnexpectedException to top-level to avoid possible
  errors when using --pdb.
* Added printing of captured stdout/stderr before entering pdb, and improved a
  test which was giving false negatives about output capturing.
* Fix ordering of tests using parametrized fixtures which can lead to fixtures
  being created more than necessary.
* Fix bug where logging happening at hooks outside of "test run" hooks would
  cause an internal error.
* Detect arguments injected by unittest.mock.patch decorator correctly when (forwarded request 579197 from mimi_vx)

OBS-URL: https://build.opensuse.org/request/show/579198
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest?expand=0&rev=32
2018-02-24 15:37:21 +00:00

57 KiB