- Update to 1.11.2:

* The pytest introspection follows message is no longer shown
    if there is no pytest introspection (#154)
  * mocker now raises a ValueError when used as a context-manager

- Update to 1.11.1:
  * Fix mocker.spy on Python 2 when used on non-function objects
    which implement __call__ (#157).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-mock?expand=0&rev=18
This commit is contained in:
Tomáš Chvátal 2019-11-05 10:53:59 +00:00 committed by Git OBS Bridge
parent 24f04b847b
commit abc8e44210
4 changed files with 20 additions and 5 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3fd5ffb33b7041aea60a77f77b98e05d5acd577d53a01bf2ff0ca9780c6e3d84
size 18893

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ea502c3891599c26243a3a847ccf0b1d20556678c528f86c98e3cd6d40c5cf11
size 22825

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Tue Nov 5 10:50:54 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 1.11.2:
* The pytest introspection follows message is no longer shown
if there is no pytest introspection (#154)
* mocker now raises a ValueError when used as a context-manager
-------------------------------------------------------------------
Mon Oct 7 12:56:56 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 1.11.1:
* Fix mocker.spy on Python 2 when used on non-function objects
which implement __call__ (#157).
-------------------------------------------------------------------
Mon Sep 30 12:22:25 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -20,7 +20,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without python2
Name: python-pytest-mock
Version: 1.11.0
Version: 1.11.2
Release: 0
Summary: Thin-wrapper around the mock package for easier use with pytest
License: MIT
@ -60,7 +60,7 @@ of a test
%check
export PYTHONDONTWRITEBYTECODE=1
%pytest test_pytest_mock.py
%pytest
%files %{python_files}
%doc CHANGELOG.rst