Matchers for unittest
Mate is an implementation of matchers for Python’s unittest module, which it largely tears out from testtools.
There are two purposes in doing so:
- Extract portions suitable for submission upstream for inclusion in the unittest module and modify them so that they’re able to be integrated
- Separate out details, matchers, and delayed assertions from testtools.TestCase so that they can be used with other TestCase subclasses
the second of which supports the first, and an ultimate goal is to contribute a shared implementation that can be used by both the standard library, testtools, and any other consumers.
The fundamental API and large portions of the code are taken with slight modifications from the aformentioned testtools package, which is MIT-licensed. Its license and authors are included in the license distributed with this package.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size & hash SHA256 hash help||File type||Python version||Upload date|
|mate-0.2.0-py2-none-any.whl (4.7 kB) Copy SHA256 hash SHA256||Wheel||py2|
|mate-0.2.0.tar.gz (2.6 kB) Copy SHA256 hash SHA256||Source||None|