Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

python313-pytest-mock-3.15.0-1.1 RPM for noarch

From OpenSuSE Tumbleweed for noarch

Name: python313-pytest-mock Distribution: openSUSE Tumbleweed
Version: 3.15.0 Vendor: openSUSE
Release: 1.1 Build date: Wed Sep 10 19:13:40 2025
Group: Unspecified Build host: reproducible
Size: 120385 Source RPM: python-pytest-mock-3.15.0-1.1.src.rpm
Packager: https://bugs.opensuse.org
Url: https://github.com/pytest-dev/pytest-mock
Summary: Thin-wrapper around the mock package for easier use with pytest
This plugin installs a ``mocker`` fixture which is a thin-wrapper around the patching API
provided by the `mock` package, but with the benefit of not having to worry about undoing
patches at the end of a test

Provides

Requires

License

MIT

Changelog

* Wed Sep 10 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 02 2024 Steve Kowalik <steven.kowalik@suse.com>
  - Drop python-py requirement, no longer required.
* Mon Jul 08 2024 Dirk Müller <dmueller@suse.com>
  - update to 3.14.0:
    * #415: MockType and AsyncMockType can be imported from
      pytest_mock for type annotation purposes.
    * #420: Fixed a regression which would cause
      mocker.patch.object to not being properly cleared between
      tests.
    * #417: spy now has spy_return_list, which is a list containing
      all the values returned by the spied function.
    * pytest-mock now requires pytest>=6.2.5.
    * #410: pytest-mock's setup.py file is removed. If you relied
      on this file, e.g. to install pytest using setup.py install,
      please see Why you shouldn't invoke setup.py directly for
      alternatives.
  - drop fix-tests-python3117.patch (upstream)
* Wed Dec 20 2023 Daniel Garcia <daniel.garcia@suse.com>
  - Fix tests with python 3.11.7
  - Add patch fix-tests-python3117.patch gh#pytest-dev/pytest-mock#403
* Tue Nov 07 2023 Dirk Müller <dmueller@suse.com>
  - update to 3.12.0:
    * Added support for Python 3.12.
    * Dropped support for EOL Python 3.7.
    * ``mocker.resetall()`` now also resets mocks created by
      ``mocker.create_autospec`` (`#390`_).
* Mon Jul 24 2023 Dirk Müller <dmueller@suse.com>
  - update to 3.11.1:
    * Fixed introspection for failed ``assert_has_calls``
    * Updated type annotations for ``mocker.patch`` and
      ``mocker.spy`` (`#364`_).
* Fri Apr 21 2023 Dirk Müller <dmueller@suse.com>
  - add sle15_python_module_pythons (jsc#PED-68)
* Thu Apr 13 2023 Matej Cepl <mcepl@suse.com>
  - Make calling of %{sle15modernpython} optional.
* Wed Nov 30 2022 Daniel Garcia <daniel.garcia@suse.com>
  - Remove python_module macro definition
  - Remove pytest-mock-issue272-asyncio.patch
  - Add python-py dependency
  - Update to 3.10.0:
    * Added new mocker.stop(m) method to stop specific mocker.patch or mocker.spy
      calls (#319).
  - 3.9.0:
    * Expose NonCallableMagicMock via the mocker fixture (#318).
  - 3.8.2:
    * Fixed AsyncMock support for Python 3.7+ in mocker.async_stub (#302).
  - 3.8.1:
    * Fix regression caused by an explicit mock dependency in the code (#298).
  - 3.8.0:
    * Add MockerFixture.async_mock method. Thanks @PerchunPak for the PR (#296).
  - 3.7.0:
    * Python 3.10 now officially supported.
    * Dropped support for Python 3.6.
* Sat Jan 22 2022 Ben Greiner <code@bnavigator.de>
  - Add pytest-mock-issue272-asyncio.patch
    * gh#pytest-dev/pytest-mock#272

Files

/usr/lib/python3.13/site-packages/pytest_mock
/usr/lib/python3.13/site-packages/pytest_mock-3.15.0.dist-info
/usr/lib/python3.13/site-packages/pytest_mock-3.15.0.dist-info/INSTALLER
/usr/lib/python3.13/site-packages/pytest_mock-3.15.0.dist-info/METADATA
/usr/lib/python3.13/site-packages/pytest_mock-3.15.0.dist-info/RECORD
/usr/lib/python3.13/site-packages/pytest_mock-3.15.0.dist-info/REQUESTED
/usr/lib/python3.13/site-packages/pytest_mock-3.15.0.dist-info/WHEEL
/usr/lib/python3.13/site-packages/pytest_mock-3.15.0.dist-info/entry_points.txt
/usr/lib/python3.13/site-packages/pytest_mock-3.15.0.dist-info/licenses
/usr/lib/python3.13/site-packages/pytest_mock-3.15.0.dist-info/licenses/LICENSE
/usr/lib/python3.13/site-packages/pytest_mock-3.15.0.dist-info/top_level.txt
/usr/lib/python3.13/site-packages/pytest_mock/__init__.py
/usr/lib/python3.13/site-packages/pytest_mock/__pycache__
/usr/lib/python3.13/site-packages/pytest_mock/__pycache__/__init__.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/pytest_mock/__pycache__/__init__.cpython-313.pyc
/usr/lib/python3.13/site-packages/pytest_mock/__pycache__/_util.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/pytest_mock/__pycache__/_util.cpython-313.pyc
/usr/lib/python3.13/site-packages/pytest_mock/__pycache__/_version.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/pytest_mock/__pycache__/_version.cpython-313.pyc
/usr/lib/python3.13/site-packages/pytest_mock/__pycache__/plugin.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/pytest_mock/__pycache__/plugin.cpython-313.pyc
/usr/lib/python3.13/site-packages/pytest_mock/_util.py
/usr/lib/python3.13/site-packages/pytest_mock/_version.py
/usr/lib/python3.13/site-packages/pytest_mock/plugin.py
/usr/lib/python3.13/site-packages/pytest_mock/py.typed
/usr/share/doc/packages/python313-pytest-mock
/usr/share/doc/packages/python313-pytest-mock/CHANGELOG.rst
/usr/share/licenses/python313-pytest-mock
/usr/share/licenses/python313-pytest-mock/LICENSE


Generated by rpm2html 1.8.1

Fabrice Bellet, Sun Sep 14 22:24:01 2025