Accepting request 690275 from devel:languages:python:pytest

- Update to 1.10.3:
  * Fix test suite in Python 3.8. Thanks @hroncok for the report and @blueyed for the PR (#140).

OBS-URL: https://build.opensuse.org/request/show/690275
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-mock?expand=0&rev=10
This commit is contained in:
Dominique Leuenberger 2019-04-04 10:00:26 +00:00 committed by Git OBS Bridge
commit 7fffd609bb
4 changed files with 11 additions and 5 deletions

View File

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

View File

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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Apr 1 08:34:55 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 1.10.3:
* Fix test suite in Python 3.8. Thanks @hroncok for the report and @blueyed for the PR (#140).
-------------------------------------------------------------------
Tue Mar 26 09:33:33 UTC 2019 - John Vandenberg <jayvdb@gmail.com>

View File

@ -20,7 +20,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without python2
Name: python-pytest-mock
Version: 1.10.2
Version: 1.10.3
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
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_version} test_pytest_mock.py
%pytest test_pytest_mock.py
%files %{python_files}
%doc CHANGELOG.rst