Changelog¶
v0.0.10¶
Fix broken installation
v0.0.9¶
Refactored repository
Bugfixes¶
SignificantPlacesAssertMixin: now working when both inputs are zeros
v0.0.8¶
Added new decorator functional.recast_exception for recasting exceptions.
Also, added quiet mode for purgithub
v0.0.7¶
Minor fix in argument order for RMSEAssertMixin._assert_rmse
v0.0.6¶
Refactored workflow and setup. Added more unittest mixins
AssertDoesntRaiseMixin: for asserting that a piece of code won’t raise an exceptionSignificantPlacesAssertMixin: for asserting equalities based on significant places and not absolute decimal placesRMSEAssertMixin: for asserting equalities based on the root-mean-squared error
v0.0.5¶
Streamlined GitHub workflow. Also, added a CLI tool for purging GitHub image caches.
v0.0.4¶
Slightly darken badges
v0.0.3¶
Added badge generator cli tool. Some helper utilities could be useful in general:
unittestmixins.AssertPrintsMixin: unittest mixin to assert what a piece of code will print via a context manager method (similar toassertRaises)cli.main: decorator for main functions of modules. This avoids the infamous patternif __name__ == "__main__:", that can be so cumbersome for unittests
v0.0.2¶
import_if_installed: if module is installed, import it, otherwise return the
ModuleNotFoundError that would be raised
v0.0.1¶
First beta release