- Update to 1.12.1:
* Fix error if mocker.patch is used in code where the source file is not available, for example stale .pyc files * Now all patch functions also raise a ValueError when used as a context-manager OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-mock?expand=0&rev=21
This commit is contained in:
parent
fc04c77c35
commit
3bf39040c1
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ea502c3891599c26243a3a847ccf0b1d20556678c528f86c98e3cd6d40c5cf11
|
||||
size 22825
|
3
pytest-mock-1.12.1.tar.gz
Normal file
3
pytest-mock-1.12.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:96a0cebc66e09930be2a15b03333d90b59584d3fb011924f81c14b50ee0afbba
|
||||
size 23236
|
@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 4 12:04:01 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Update to 1.12.1:
|
||||
* Fix error if mocker.patch is used in code where the source file
|
||||
is not available, for example stale .pyc files
|
||||
* Now all patch functions also raise a ValueError when used as a
|
||||
context-manager
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Nov 16 22:35:16 UTC 2019 - Hans-Peter Jansen <hpj@urpla.net>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pytest-mock
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LLC.
|
||||
# Copyright (c) 2019 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -20,11 +20,10 @@
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%bcond_without python2
|
||||
Name: python-pytest-mock
|
||||
Version: 1.11.2
|
||||
Version: 1.12.1
|
||||
Release: 0
|
||||
Summary: Thin-wrapper around the mock package for easier use with pytest
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/pytest-dev/pytest-mock
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pytest-mock/pytest-mock-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pytest}
|
||||
|
Loading…
Reference in New Issue
Block a user