summaryrefslogtreecommitdiffstats
path: root/Lib/unittest
Commit message (Collapse)AuthorAgeFilesLines
* Issue #18996: TestCase.assertEqual() now more cleverly shorten differingSerhiy Storchaka2013-09-233-16/+78
| | | | strings in error report.
* Issue #18937: Add an assertLogs() context manager to unittest.TestCase to ↵Antoine Pitrou2013-09-142-6/+199
| | | | ensure that a block of code emits a message using the logging module.
* Adjust commentAntoine Pitrou2013-09-131-1/+1
|
* Issue #19013: add a __main__ to unittest.test.testmock to ease CLI invocationAntoine Pitrou2013-09-131-0/+18
|
* Issue #19013: add a __main__ to unittest.test to ease CLI invocationAntoine Pitrou2013-09-131-0/+18
|
* Issue #19013: add unittest.main() epilogs to unittest.mock's own test modulesAntoine Pitrou2013-09-133-2/+4
|
* Issue #19013: add unittest.main() epilogs to unittest's own test modulesAntoine Pitrou2013-09-138-0/+29
|
* Merge docstring typo fix from 3.3Mark Dickinson2013-09-091-1/+1
|\
| * Docstring typo fix: Arithmentic -> Arithmetic.Mark Dickinson2013-09-091-1/+1
| |
* | Issue #11798: fix tests for regrtest -R :Andrew Svetlov2013-09-012-2/+14
| |
* | Back out 868ad6fa8e68 - it left all the buildbots failing.Tim Peters2013-09-011-1/+0
| | | | | | | | | | | | Unclear to me why it was pushed to begin with. See issue 11798. Perhaps it's because regrtest with -R was failing? Fine, but that's better than regrtest _always_ failing ;-)
* | Temporary disable tests cleanup (issue 11798).Andrew Svetlov2013-08-311-0/+1
| |
* | Issue #17974: Switch unittest from using getopt to using argparse.Serhiy Storchaka2013-08-294-177/+168
| |
* | Issue #11798: TestSuite now drops references to own tests after execution.Andrew Svetlov2013-08-283-7/+56
| |
* | #18741: merge with 3.3.Ezio Melotti2013-08-173-3/+3
|\ \ | |/
| * #18741: fix more typos. Patch by Févry Thibault.Ezio Melotti2013-08-173-3/+3
| |
* | #18663: merge with 3.3.Ezio Melotti2013-08-111-0/+4
|\ \ | |/
| * #18663: document that assertAlmostEqual also works when the values are equal ↵Ezio Melotti2013-08-111-0/+4
| | | | | | | | and add tests.
* | clean the environment from pre-existing PYTHONWARNINGS for test_warningsŁukasz Langa2013-04-231-0/+12
|\ \ | |/
| * clean the environment from pre-existing PYTHONWARNINGS for test_warningsŁukasz Langa2013-04-231-0/+12
| |
* | Merge #14971: Use class method name, not function.__name__, during unittest ↵R David Murray2013-04-112-1/+17
|\ \ | |/ | | | | discovery.
| * #14971: Use class method name, not function.__name__, during unittest discovery.R David Murray2013-04-112-1/+17
| |
* | Process DEFAULT values in mock side_effect that returns iterator.Andrew Svetlov2013-04-072-0/+6
|\ \ | |/ | | | | Patch by Michael Ford.
| * Process DEFAULT values in mock side_effect that returns iterator.Andrew Svetlov2013-04-072-0/+6
| | | | | | | | Patch by Michael Ford.
* | Fix bug in TestResult.addSubTest()Antoine Pitrou2013-03-292-1/+35
| |
* | #8906: merge with 3.3.Ezio Melotti2013-03-291-12/+11
|\ \ | |/
| * #8906: document failureException, longMessage, and maxDiff in the class ↵Ezio Melotti2013-03-291-12/+11
| | | | | | | | docstring. Patch by Boris Feld.
* | #17329: merge with 3.3.Ezio Melotti2013-03-271-1/+1
|\ \ | |/
| * #17329: merge with 3.2.Ezio Melotti2013-03-271-1/+1
| |\
| | * #17329: document unittest.SkipTest. Initial patch by Zachary Ware.Ezio Melotti2013-03-271-1/+1
| | |
* | | #17504: merge with 3.3.Ezio Melotti2013-03-241-3/+0
|\ \ \ | |/ /
| * | #17504: remove duplicated sentence. Patch by Radu Voicilas.Ezio Melotti2013-03-241-3/+0
| | |
* | | #17510: avoid using deprecated assertEquals method in test_program. Patch ↵Ezio Melotti2013-03-231-2/+2
| | | | | | | | | | | | by Daniel Black.
* | | Issue #16997: unittest.TestCase now provides a subTest() context manager to ↵Antoine Pitrou2013-03-207-101/+443
| | | | | | | | | | | | procedurally generate, in an easy way, small test instances.
* | | Closes issue 17467. Add readline and readlines support to ↵Michael Foord2013-03-202-6/+132
| | | | | | | | | | | | unittest.mock.mock_open
* | | Closes issue 16709. unittest test discovery sorts test files for consistent ↵Michael Foord2013-03-192-3/+9
| | | | | | | | | | | | test ordering
* | | Merge with 3.3, issue #17047: remove doubled words added in 3.3,Terry Jan Reedy2013-03-111-1/+1
|\ \ \ | |/ / | | | | | | as reported by Serhiy Storchaka and Matthew Barnett.
| * | Issue #17047: remove doubled words added in 3.3Terry Jan Reedy2013-03-111-1/+1
| | | | | | | | | | | | as reported by Serhiy Storchaka and Matthew Barnett.
* | | #16935: unittest now counts the module as skipped if it raises SkipTest, ↵Ezio Melotti2013-03-012-4/+33
| | | | | | | | | | | | instead of counting it as an error. Patch by Zachary Ware.
* | | Issue #15132: Allow a list for the defaultTest argument of unittest.TestProgramPetri Lehtinen2013-02-232-1/+39
| | | | | | | | | | | | Patch by Jyrki Pulliainen
* | | Merge. Closes issue 17052.Michael Foord2013-02-112-2/+2
|\ \ \ | |/ /
| * | MergeMichael Foord2013-02-112-2/+2
| |\ \ | | |/
| | * Correction to issue 17052 fixMichael Foord2013-02-112-2/+2
| | |
* | | Merge. Closes issue 17052.Michael Foord2013-02-112-1/+19
|\ \ \ | |/ /
| * | MergeMichael Foord2013-02-112-1/+19
| |\ \ | | |/
| | * Issue 17502: unittest discovery should use self.testLoaderMichael Foord2013-02-112-1/+18
| | |
* | | Issue #17015: When it has a spec, a Mock object now inspects its signature ↵Antoine Pitrou2013-02-023-85/+273
| | | | | | | | | | | | when matching calls, so that arguments can be matched positionally or by name.
* | | MergeMichael Foord2013-01-292-1/+47
|\ \ \ | |/ /
| * | MergeMichael Foord2013-01-292-1/+47
| |\ \ | | |/
| | * Closes issue 15505. unittest.installHandler and non-callable signal handlers.Michael Foord2013-01-292-1/+47
| | |