Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Announce

ANN: mock 0.8 final released



Python announce RSS feed   Index | Next | Previous | View Threaded

fuzzyman at gmail

Feb 16, 2012, 7:35 AM

Post #1 of 1 (177 views)
ANN: mock 0.8 final released

After more than six months development work mock 0.8 has been
released. 0.8 is a big release with many new features, general
improvements and bugfixes.

You can download mock 0.8.0 final from the PyPI page or install it

pip install -U mock

mock is a library for testing in Python. It allows you to replace
parts of your system under test with mock objects.


The only changes in mock 0.8.0 final since 0.8rc2 are:

* Improved repr of `sentinel` objects
* `ANY` can be used for comparisons against call objects
* The return value of `MagicMock.__iter__` can be set to any iterable
and isn't required to be an iterator

A longer version of this announcement, including the full changelog
since mock 0.7 and a couple of short examples of the most important
changes, can be found on my blog:


Michael Foord

Support the Python Software Foundation:

Python announce RSS feed   Index | Next | Previous | View Threaded

Interested in having your list archived? Contact Gossamer Threads
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.