summaryrefslogtreecommitdiffstats
path: root/Lib/unittest/test
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove commented out debugging code (remnants of issue #18996).Serhiy Storchaka2013-12-101-2/+0
|
* Close #19880: Fix a reference leak in unittest.TestCase. Explicitly breakVictor Stinner2013-12-091-0/+26
| | | | reference cycles between frames and the _Outcome instance.
* MergeMichael Foord2013-11-231-15/+2
|\
| * Remove shadowed testMichael Foord2013-09-151-15/+2
| |
* | Issue 17457: extend test discovery to support namespace packagesMichael Foord2013-11-231-2/+78
| |
* | Issue #19594: Use specific asserts in unittest tests.Serhiy Storchaka2013-11-167-28/+28
|\ \
| * | Issue #19594: Use specific asserts in unittest tests.Serhiy Storchaka2013-11-167-28/+28
| | |
* | | Issue #19352: Fix unittest discovery when a module can be reached through ↵Antoine Pitrou2013-10-231-1/+23
|\ \ \ | |/ / | | | | | | several paths (e.g. under Debian/Ubuntu with virtualenv).
| * | Issue #19352: Fix unittest discovery when a module can be reached through ↵Antoine Pitrou2013-10-231-1/+23
| | | | | | | | | | | | several paths (e.g. under Debian/Ubuntu with virtualenv).
* | | Issue #18996: TestCase.assertEqual() now more cleverly shorten differingSerhiy Storchaka2013-09-231-3/+34
| | | | | | | | | | | | strings in error report.
* | | Issue #18937: Add an assertLogs() context manager to unittest.TestCase to ↵Antoine Pitrou2013-09-141-0/+96
| | | | | | | | | | | | 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
| |/ |/|
* | Issue #11798: fix tests for regrtest -R :Andrew Svetlov2013-09-011-0/+8
| |
* | Issue #17974: Switch unittest from using getopt to using argparse.Serhiy Storchaka2013-08-292-38/+54
| |
* | Issue #11798: TestSuite now drops references to own tests after execution.Andrew Svetlov2013-08-282-5/+43
| |
* | #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-111-0/+16
|\ \ | |/ | | | | discovery.
| * #14971: Use class method name, not function.__name__, during unittest discovery.R David Murray2013-04-111-0/+16
| |
* | Process DEFAULT values in mock side_effect that returns iterator.Andrew Svetlov2013-04-071-0/+4
|\ \ | |/ | | | | Patch by Michael Ford.
| * Process DEFAULT values in mock side_effect that returns iterator.Andrew Svetlov2013-04-071-0/+4
| | | | | | | | Patch by Michael Ford.
* | Fix bug in TestResult.addSubTest()Antoine Pitrou2013-03-291-0/+34
| |
* | #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-205-15/+261
| | | | | | | | procedurally generate, in an easy way, small test instances.
* | Closes issue 17467. Add readline and readlines support to ↵Michael Foord2013-03-201-0/+83
| | | | | | | | unittest.mock.mock_open
* | Closes issue 16709. unittest test discovery sorts test files for consistent ↵Michael Foord2013-03-191-2/+5
| | | | | | | | test ordering
* | #16935: unittest now counts the module as skipped if it raises SkipTest, ↵Ezio Melotti2013-03-011-4/+23
| | | | | | | | 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-231-0/+35
| | | | | | | | Patch by Jyrki Pulliainen
* | Merge. Closes issue 17052.Michael Foord2013-02-111-1/+1
|\ \ | |/
| * MergeMichael Foord2013-02-111-1/+1
| |\
| | * Correction to issue 17052 fixMichael Foord2013-02-111-1/+1
| | |
* | | Merge. Closes issue 17052.Michael Foord2013-02-111-0/+14
|\ \ \ | |/ /
| * | MergeMichael Foord2013-02-111-0/+14
| |\ \ | | |/
| | * Issue 17502: unittest discovery should use self.testLoaderMichael Foord2013-02-111-0/+14
| | |
* | | Issue #17015: When it has a spec, a Mock object now inspects its signature ↵Antoine Pitrou2013-02-022-20/+164
|/ / | | | | | | when matching calls, so that arguments can be matched positionally or by name.
* | MergeMichael Foord2013-01-291-0/+32
|\ \ | |/
| * Closes issue 15505. unittest.installHandler and non-callable signal handlers.Michael Foord2013-01-291-0/+32
| |
* | Closes issue 15323. Improve failure message of Mock.assert_called_once_withMichael Foord2012-09-281-0/+7
| |
* | MergeMichael Foord2012-09-281-0/+13
|\ \ | |/
| * Closes issue #12376 : Pass on parameters in unittest.TextTestResult.__init__ ↵Michael Foord2012-09-281-0/+13
| | | | | | | | super call
* | Adding patch.stopall method to unittest.mockMichael Foord2012-06-101-0/+18
| |
* | Fix exception when calling reset_mock on a mock created with autospecMichael Foord2012-06-092-0/+15
| |