Commit Graph

11 Commits

Author SHA256 Message Date
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
7aea8b952d Accepting request 575840 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/575840
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest?expand=0&rev=31
2018-02-15 12:20:39 +00:00
adaecf3396 Accepting request 562163 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/562163
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest?expand=0&rev=30
2018-01-16 08:25:01 +00:00
800e9991a2 Accepting request 556675 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/556675
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest?expand=0&rev=29
2017-12-15 13:01:40 +00:00
17090bdd9a Accepting request 542013 from devel:languages:python
- update to 3.2.5
* don't limit py<1.5

- update to 3.2.5
* don't limit py<1.5 (forwarded request 542012 from mimi_vx)

OBS-URL: https://build.opensuse.org/request/show/542013
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest?expand=0&rev=28
2017-11-19 10:05:58 +00:00
d658ec082f Accepting request 537603 from devel:languages:python
- update to version 3.2.3:
  * Bug Fixes
    + Fix crash in tab completion when no prefix is given. (#2748)
    + The equality checking function (__eq__) of MarkDecorator returns
      False if one object is not an instance of MarkDecorator. (#2758)
    + When running pytest --fixtures-per-test: don’t crash if an item
      has no _fixtureinfo attribute (e.g. doctests) (#2788)
  * Improved Documentation
    + In help text of -k option, add example of using not to not
      select certain tests whose names match the provided
      expression. (#1442)
    + Add note in parametrize.rst about calling metafunc.parametrize
      multiple times. (#1548)
  * Trivial/Internal Changes
    + Set xfail_strict=True in pytest’s own test suite to catch
      expected failures as soon as they start to pass. (#2722)
    + Fix typo in example of passing a callable to markers (in
      example/markers.rst) (#2765)

- Fix python-py version requirement.
- Update to 3.2.2:
  * Bug Fixes
    - Calling the deprecated request.getfuncargvalue() now shows the
      source of the call. (#2681)
    - Allow tests declared as @staticmethod to use fixtures. (#2699)
    - Fixed edge-case during collection: attributes which raised
      pytest.fail when accessed would abort the entire collection.
      (#2707)
    - Fix ReprFuncArgs with mixed unicode and UTF-8 args. (#2731)
  * Improved Documentation

OBS-URL: https://build.opensuse.org/request/show/537603
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest?expand=0&rev=27
2017-11-02 09:24:10 +00:00
63c64a5255 Accepting request 483801 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/483801
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest?expand=0&rev=25
2017-04-19 16:05:53 +00:00
cfc0981802 Accepting request 460258 from devel:languages:python
first batch of singlespec packages

OBS-URL: https://build.opensuse.org/request/show/460258
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest?expand=0&rev=24
2017-02-27 17:33:58 +00:00
3216e6dfdd Accepting request 428222 from devel:languages:python
update to version 3.0.2

OBS-URL: https://build.opensuse.org/request/show/428222
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest?expand=0&rev=23
2016-09-20 11:23:40 +00:00
2fc705bf21 Accepting request 357125 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/357125
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest?expand=0&rev=21
2016-02-16 08:27:13 +00:00
04bc457b90 Accepting request 308505 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/308505
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest?expand=0&rev=17
2015-05-25 21:05:14 +00:00