From 85cee62be4da7b5e487c708ae750fed08aaa83f3dc6a409a3be9628a959625bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 9 Jun 2020 07:59:33 +0000 Subject: [PATCH] - Update to 3.1.1: * Fixed performance regression caused by the ValueError raised when mocker is used as context manager (#191). OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-mock?expand=0&rev=27 --- pytest-mock-3.1.0.tar.gz | 3 --- pytest-mock-3.1.1.tar.gz | 3 +++ python-pytest-mock.changes | 7 +++++++ python-pytest-mock.spec | 6 ++---- 4 files changed, 12 insertions(+), 7 deletions(-) delete mode 100644 pytest-mock-3.1.0.tar.gz create mode 100644 pytest-mock-3.1.1.tar.gz diff --git a/pytest-mock-3.1.0.tar.gz b/pytest-mock-3.1.0.tar.gz deleted file mode 100644 index 2080d34..0000000 --- a/pytest-mock-3.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ce610831cedeff5331f4e2fc453a5dd65384303f680ab34bee2c6533855b431c -size 25003 diff --git a/pytest-mock-3.1.1.tar.gz b/pytest-mock-3.1.1.tar.gz new file mode 100644 index 0000000..63653ab --- /dev/null +++ b/pytest-mock-3.1.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:636e792f7dd9e2c80657e174c04bf7aa92672350090736d82e97e92ce8f68737 +size 25038 diff --git a/python-pytest-mock.changes b/python-pytest-mock.changes index 86a6c38..0daa837 100644 --- a/python-pytest-mock.changes +++ b/python-pytest-mock.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Jun 9 07:58:45 UTC 2020 - Tomáš Chvátal + +- Update to 3.1.1: + * Fixed performance regression caused by the ValueError raised + when mocker is used as context manager (#191). + ------------------------------------------------------------------- Mon Apr 27 10:19:49 UTC 2020 - Tomáš Chvátal diff --git a/python-pytest-mock.spec b/python-pytest-mock.spec index e46b910..60c8851 100644 --- a/python-pytest-mock.spec +++ b/python-pytest-mock.spec @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-pytest-mock -Version: 3.1.0 +Version: 3.1.1 Release: 0 Summary: Thin-wrapper around the mock package for easier use with pytest License: MIT @@ -51,9 +51,7 @@ of a test %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -export PYTHONDONTWRITEBYTECODE=1 -# disable current failing tests -%pytest -k 'not test_assert_called_args_with_introspection and not test_assert_called_kwargs_with_introspection and not test_detailed_introspection' +%pytest %files %{python_files} %doc CHANGELOG.rst