Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Mock 100% coverage (GH-13045) | Chris Withers | 2019-05-01 | 1 | -2/+1 |
| | | | | | | | | | | | This was achieved by: * moving many pass statements in tests onto their own lines, so they pass line coverage and can match an easy ignore pattern if branch coverage is added later. * removing code that cannot be reached. * removing long-disabled tests. * removing unused code. * adding tests for uncovered code It turned out that removing `if __name__ == '__main__'` blocks that run unittest.main() at the bottom of test files was surprisingly contentious, so they remain and can be filtered out with an appropriate .coveragerc. | ||||
* | bpo-35357: Add _mock_ prefix to name/parent/from_kall attributes of ↵ | Andrew Dunai | 2018-12-04 | 1 | -1/+1 |
| | | | | | _Call/_MagicProxy. (#10873) Fix minor typo in test function name. | ||||
* | Issue #27895: Spelling fixes (Contributed by Ville Skyttä). | Raymond Hettinger | 2016-08-30 | 1 | -1/+1 |
| | |||||
* | Issue #19013: add unittest.main() epilogs to unittest.mock's own test modules | Antoine Pitrou | 2013-09-13 | 1 | -0/+4 |
| | |||||
* | Remove more Python 2 compatibility cruft from unittest.mock | Michael Foord | 2012-03-14 | 1 | -14/+2 |
| | |||||
* | PEP 417: Adding unittest.mock | Michael Foord | 2012-03-14 | 1 | -0/+159 |