summaryrefslogtreecommitdiffstats
path: root/Lib/unittest/case.py
Commit message (Expand)AuthorAgeFilesLines
* Remove binding of captured exceptions when not used to reduce the chances of ...Pablo Galindo2019-11-191-1/+1
* bpo-34596: Fallback to a default reason when @unittest.skip is uncalled (#9082)Naitree Zhu2019-09-091-0/+5
* [3.9] bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-12620)Serhiy Storchaka2019-06-051-18/+1
* bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-13700)Serhiy Storchaka2019-06-011-27/+3
* bpo-32972: Async test case (GH-13386)Andrew Svetlov2019-05-291-4/+16
* bpo-36542: Allow to overwrite the signature for Python functions. (GH-12705)Serhiy Storchaka2019-05-061-1/+4
* Document that TestCase.assertCountEqual() can take iterables (GH-686)jkleint2019-04-231-3/+2
* bpo-36492: Deprecate passing some arguments as keyword arguments. (GH-12637)Serhiy Storchaka2019-04-011-3/+41
* bpo-24412: Adds cleanUps for setUpClass and setUpModule. (GH-9190)Lisa Roach2018-11-091-1/+45
* bpo-34900: Make TestCase.debug() work with subtests (GH-9707)Bruno Oliveira2018-10-121-1/+1
* bpo-34318: Convert deprecation warnings to errors in assertRaises() etc. (GH-...Serhiy Storchaka2018-08-191-7/+2
* Update TestCase.assertAlmostEqual and assertNotAlmostEqual docstrings. (GH-3998)Ron2017-10-181-2/+3
* bpo-30397: Add re.Pattern and re.Match. (#1646)Serhiy Storchaka2017-10-041-2/+2
* bpo-30664: The description of a unittest subtest now preserves the (#2265)Serhiy Storchaka2017-06-231-2/+12
* bpo-30190: improved error msg for assertAlmostEqual(delta=...) (#1331)Giampaolo Rodola2017-05-011-14/+21
* Fix ref cycles in TestCase.assertRaises() (#193)Victor Stinner2017-03-271-22/+30
* Issue #25651: Allow falsy values to be used for msg parameter of subTest()Berker Peksag2016-09-211-2/+3
* Issue #27626: Spelling fixes in docs, comments and internal namesMartin Panter2016-07-281-2/+2
* Issue #26837: assertSequenceEqual() now correctly outputs non-stringifiedSerhiy Storchaka2016-04-251-3/+3
* Issue #21112: Fix regression in unittest.expectedFailure on subclasses.Robert Collins2015-08-271-2/+5
|\
| * Issue #21112: Fix regression in unittest.expectedFailure on subclasses.Robert Collins2015-08-271-2/+5
| * Reverted issue #24134 changes (except new tests).Serhiy Storchaka2015-05-161-13/+11
* | Issue #20362: Honour TestCase.longMessage correctly in assertRegex.Robert Collins2015-08-191-7/+11
* | Issue #15836: assertRaises(), assertRaisesRegex(), assertWarns() andSerhiy Storchaka2015-05-211-0/+13
* | Issue #24134: assertRaises(), assertRaisesRegex(), assertWarns() andSerhiy Storchaka2015-05-161-44/+44
|/
* Fixed English in error message.Serhiy Storchaka2015-05-061-1/+1
* Issue #24134: assertRaises(), assertRaisesRegex(), assertWarns() andSerhiy Storchaka2015-05-061-11/+13
* Issue #21408: The default __ne__() now returns NotImplemented if __eq__()Serhiy Storchaka2015-01-261-3/+0
* Issue #9815: assertRaises now tries to clear references to local variables in...Antoine Pitrou2014-04-281-0/+3
* backport: #20145: assert[Raises|Warns]Regex now raise TypeError on bad regex.R David Murray2014-03-251-1/+1
* Close #19880: Fix a reference leak in unittest.TestCase. Explicitly breakVictor Stinner2013-12-091-1/+13
* Issue #18996: TestCase.assertEqual() now more cleverly shorten differingSerhiy Storchaka2013-09-231-13/+7
* Issue #18937: Add an assertLogs() context manager to unittest.TestCase to ens...Antoine Pitrou2013-09-141-6/+103
* #8906: merge with 3.3.Ezio Melotti2013-03-291-12/+11
|\
| * #8906: document failureException, longMessage, and maxDiff in the class docst...Ezio Melotti2013-03-291-12/+11
* | #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
* | | Issue #16997: unittest.TestCase now provides a subTest() context manager to p...Antoine Pitrou2013-03-201-86/+166
|/ /
* | Issue #16714: use 'raise' exceptions, don't 'throw'.Andrew Svetlov2012-12-181-2/+2
|\ \ | |/
| * Issue #16714: use 'raise' exceptions, don't 'throw'.Andrew Svetlov2012-12-181-2/+2
* | #16433: merge with 3.2.Ezio Melotti2012-11-081-1/+1
|\ \ | |/
| * #16433: fix docstring of assertNotEqual.Ezio Melotti2012-11-081-1/+1
* | compare singletons by identity not equality (closes #16712)Benjamin Peterson2012-10-091-1/+1
* | Issue #14664: It is now possible to use @unittest.skip{If,Unless} on a test c...Antoine Pitrou2012-04-251-1/+1
|\ \ | |/
| * Issue #14664: It is now possible to use @unittest.skip{If,Unless} on a test c...Antoine Pitrou2012-04-251-1/+1
* | Drop unused import in unittest package.Florent Xicluna2011-11-041-2/+1
* | #13012: use splitlines(keepends=True/False) instead of splitlines(0/1).Ezio Melotti2011-09-281-2/+2
* | merge 3.2 (#12544)Benjamin Peterson2011-07-131-22/+3
|\ \ | |/
| * this can be done without a custom dict (also fixes #12544)Benjamin Peterson2011-07-131-22/+3