Overview

Request 618559 accepted

- update to 3.6.2
- add python-mock to buildrequires
- fix test command
- add python_mock.patch to use stdlib mock library on py3

- Update to version 3.6.0
+ Features
* Revamp the internals of the ``pytest.mark`` implementation with correct per
node handling which fixes a number of long standing bugs caused by the old
design. This introduces new ``Node.iter_markers(name)`` and
``Node.get_closest_mark(name)`` APIs. Users are **strongly encouraged** to
read the `reasons for the revamp in the docs
`_,
or jump over to details about `updating existing code to use the new APIs
`_. (`#3317
`_)
* Now when ``@pytest.fixture`` is applied more than once to the same function a
``ValueError`` is raised. This buggy behavior would cause surprising problems
and if was working for a test suite it was mostly by accident. (`#2334
`_)
* Support for Python 3.7's builtin ``breakpoint()`` method, see `Using the
builtin breakpoint function
`_ for
details. (`#3180 `_)
* ``monkeypatch`` now supports a ``context()`` function which acts as a context
manager which undoes all patching done within the ``with`` block. (`#3290
`_)
* The ``--pdb`` option now causes KeyboardInterrupt to enter the debugger,
instead of stopping the test session. On python 2.7, hitting CTRL+C again
exits the debugger. On python 3.2 and higher, use CTRL+D. (`#3299


Dominique Leuenberger's avatar

Causes a cycle: pytest Requires: atomicwrites, atomicwrites buildrequires pytest




Yuchen Lin's avatar

Unignored: returned to active backlog.

Request History
Ondřej Súkup's avatar

mimi_vx created request

- update to 3.6.2
- add python-mock to buildrequires
- fix test command
- add python_mock.patch to use stdlib mock library on py3

- Update to version 3.6.0
+ Features
* Revamp the internals of the ``pytest.mark`` implementation with correct per
node handling which fixes a number of long standing bugs caused by the old
design. This introduces new ``Node.iter_markers(name)`` and
``Node.get_closest_mark(name)`` APIs. Users are **strongly encouraged** to
read the `reasons for the revamp in the docs
`_,
or jump over to details about `updating existing code to use the new APIs
`_. (`#3317
`_)
* Now when ``@pytest.fixture`` is applied more than once to the same function a
``ValueError`` is raised. This buggy behavior would cause surprising problems
and if was working for a test suite it was mostly by accident. (`#2334
`_)
* Support for Python 3.7's builtin ``breakpoint()`` method, see `Using the
builtin breakpoint function
`_ for
details. (`#3180 `_)
* ``monkeypatch`` now supports a ``context()`` function which acts as a context
manager which undoes all patching done within the ``with`` block. (`#3290
`_)
* The ``--pdb`` option now causes KeyboardInterrupt to enter the debugger,
instead of stopping the test session. On python 2.7, hitting CTRL+C again
exits the debugger. On python 3.2 and higher, use CTRL+D. (`#3299


Saul Goodman's avatar

licensedigger accepted review

ok


Factory Auto's avatar

factory-auto added opensuse-review-team as a reviewer

Please review sources


Factory Auto's avatar

factory-auto added repo-checker as a reviewer

Please review build success


Factory Auto's avatar

factory-auto accepted review

Check script succeeded


Staging Bot's avatar

staging-bot set openSUSE:Factory:Staging:H as a staging project

Being evaluated by staging project "openSUSE:Factory:Staging:H"


Staging Bot's avatar

staging-bot accepted review

Picked openSUSE:Factory:Staging:H


Repo Checker's avatar

repo-checker accepted review

cycle and install check passed


Dominique Leuenberger's avatar

dimstar accepted review


Dominique Leuenberger's avatar

dimstar_suse accepted review

ready to accept


Dominique Leuenberger's avatar

dimstar_suse approved review

ready to accept


Dominique Leuenberger's avatar

dimstar_suse accepted request

Accept to openSUSE:Factory

openSUSE Build Service is sponsored by