4def9d6edf
Accepting request 1239249 from devel:languages:python
Ana Guerrero2025-01-21 20:11:00 +00:00
980d5201d8
- Update to 0.12.2 * Fix typing of and_raise (exception instances are allowed). * Fix teardown for spying on derived class methods. * Remove python 3.6 mentions and add py-version config to pylint. - Adjust URL to upstream source tarball on Github
Nico Krapp2025-01-21 11:44:12 +00:00
a0c37ad03c
Accepting request 1186412 from devel:languages:python
Ana Guerrero2024-07-09 18:06:01 +00:00
dd186cbacb
Accepting request 1185797 from home:smolsheep:upgrades
Dirk Mueller2024-07-09 13:27:49 +00:00
1a9f30cfc8
Accepting request 1129215 from devel:languages:python
Ana Guerrero2023-11-27 21:44:55 +00:00
c760d7c15d
- update to 0.11.3: * Add PEP 561 py.typed marker file. * Re-organize unit tests. * Add a warning about the usage of .new_instances() method in the documentation. * Run tests with testtools, subunit, TeamCity, and doctest testrunners using tox. * Test flexmock API examples using doctest. * Re-add Sphinx support for generating man pages. * Fix 404 page not loading CSS and Javascript resources in documentation. * Add Python 3.8, 3.9, 3.10, and 3.11 support. * Add type annotations. * **BREAKING CHANGE**: Flexmock needs to be imported explicitly using from flexmock import flexmock. * Many error messages have been improved. * Drop Python 2.7, 3.4, 3.5 support. * Drop Pytest 4.x support. * **BREAKING CHANGE**: Removed support for calling once, twice, never, and mock methods without parentheses. * Fix should_call is broken if called on a fake object. * Fix and_raise allows invalid arguments for an exception. * Fix AttributeError raised when mocking a proxied object. * Fix flexmock not mocking methods properly on derived classes. * Fix with_args not working built-in functions. - Initial package
Dirk Mueller2023-11-27 18:53:20 +00:00
fccc883559
- Update to 0.10.4: - drop Python 2.6, 3.3 and Jython support - add Python 3.6 and 3.7 support - don't hide exception when flexmock is used as context manager - fix expectation reset for static methods on pypy 2 - ensure original exception isn't suppressed in pytest hook
Tomáš Chvátal
2019-03-28 14:28:59 +00:00