- 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

@@ -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