forked from pool/python-pytest-mock
Compare commits
4 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 0b6719cf07 | |||
| cb52a54a47 | |||
| a4f0161c06 | |||
| 3a7e75f26a |
BIN
pytest-mock-3.14.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
pytest-mock-3.14.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1849a238f6f396da19762269de72cb1814ab44416fa73a8686deac10b0d87a0f
|
||||
size 34036
|
||||
@@ -1,25 +1,7 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 29 20:31:05 UTC 2025 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 3.15.1:
|
||||
* #529: Fixed itertools._tee object has no attribute error --
|
||||
now duplicate_iterators=True must be passed to mocker.spy to
|
||||
duplicate iterators.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 10 17:13:40 UTC 2025 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 3.15.0:
|
||||
* Python 3.8 (EOL) is no longer supported.
|
||||
* #524: Added spy_return_iter to mocker.spy, which contains a
|
||||
duplicate of the return value of the spied method if it is an
|
||||
Iterator.
|
||||
* #503: Python 3.14 is now officially supported.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 2 01:46:28 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Drop python-py requirement, no longer required.
|
||||
- Drop python-py requirement, no longer required.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 8 10:47:18 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pytest-mock
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC and contributors
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,12 +18,12 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-pytest-mock
|
||||
Version: 3.15.1
|
||||
Version: 3.14.0
|
||||
Release: 0
|
||||
Summary: Thin-wrapper around the mock package for easier use with pytest
|
||||
License: MIT
|
||||
URL: https://github.com/pytest-dev/pytest-mock
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pytest-mock/pytest_mock-%{version}.tar.gz
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pytest-mock/pytest-mock-%{version}.tar.gz
|
||||
BuildRequires: %{python_module base >= 3.8}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest >= 5}
|
||||
@@ -43,7 +43,7 @@ provided by the `mock` package, but with the benefit of not having to worry abou
|
||||
patches at the end of a test
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n pytest_mock-%{version}
|
||||
%autosetup -p1 -n pytest-mock-%{version}
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
Reference in New Issue
Block a user