Minimock

Latest version: v1.2.8

Safety actively analyzes 621854 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

1.2.8

-----
* python3 (+ tox) support! (Marc Abramowitz)

1.2.7

-----
* Fix for mocking proxy objects. Worked in 1.2.5 but broken in 1.2.6 by the
change to allow mocking static methods. Reported by Randy Syring.
* bugfix: ``mock_show_attrs`` was immutable after initialization because the
``mock_`` prefix was accidentally left off in ``Mock.__setattr__`` (Yusuke
Muraoka)

1.2.6

-----
* Allow changing the tracker on a mock object once it's been set (James Brady)
* Support doctest use case (Israel Tsadok)
* Fix issue 1: setting mock_returns_iter on existing Mock object (kenmacd)
* Fix issue 2: static methods become unbound methods after mock + restore

1.2.5

-----
* Deprecate ``MockTracker``. ``TraceTracker`` should be used instead.

1.2.4

-----
* Fix show_attrs=True bug (Kendrick Shaw)

1.2.3

-----

* Explicitly passing ``tracker=None`` to the ``Mock`` constructor now
suppresses tracking. If ``tracker`` is not passed it will still use
``Printer(sys.stdout)`` as before.

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.