summaryrefslogtreecommitdiff
path: root/Lib/unittest/test/testmock/testcallable.py
Commit message (Collapse)AuthorAgeFilesLines
* Mock 100% coverage (GH-13045)Chris Withers2019-05-011-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 Dunai2018-12-041-1/+1
| | | | | _Call/_MagicProxy. (#10873) Fix minor typo in test function name.
* Issue #27895: Spelling fixes (Contributed by Ville Skyttä).Raymond Hettinger2016-08-301-1/+1
|
* Issue #19013: add unittest.main() epilogs to unittest.mock's own test modulesAntoine Pitrou2013-09-131-0/+4
|
* Remove more Python 2 compatibility cruft from unittest.mockMichael Foord2012-03-141-14/+2
|
* PEP 417: Adding unittest.mockMichael Foord2012-03-141-0/+159