summaryrefslogtreecommitdiffstats
path: root/Lib/test/support/testresult.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-46126: Restore 'descriptions' when running tests internally. (GH-32128)Jason R. Coombs2022-04-031-5/+1
| | | | | This reverts commit a941e5927f7f2540946813606c61c6aea38db426 (GH-30194). Automerge-Triggered-By: GH:jaraco
* bpo-46126: Disable 'descriptions' when running tests internally. (GH-30194)Jason R. Coombs2022-01-221-1/+5
|
* bpo-5846: Do not use obsolete unittest functions. (GH-28303)Serhiy Storchaka2021-09-131-1/+1
| | | | Get rid of use of makeSuite() and findTestCases(). Also make test_math and test_threading_local discoverable.
* bpo-45057: Simplify RegressionTestResult (GH-28081)Serhiy Storchaka2021-08-311-31/+2
| | | Remove code which duplicates the functionality of TextTestResult.
* bpo-41718: libregrtest avoids importing datetime (GH-24985)Victor Stinner2021-03-231-2/+1
| | | | * libregrtest reimplements datetime.timedelta.__str__() * support.testresult only imports datetime if USE_XML is true.
* bpo-41718: Disable support.testresult XML output by default (GH-24982)Victor Stinner2021-03-231-7/+18
| | | | | | | RegressionTestResult.USE_XML must now be set to True to get the JUnit XML output. Reduce the number of imports when --junit-xml=FILE option is not used: 153 => 144 (-9).
* bpo-34945: Buffer output in test suite only when creating junit file (GH-10204)Pablo Galindo2018-10-291-10/+13
| | | | | | | | | | | After commit d0f49d2f5085ca68e3dc8725f1fb1c9674bfb5ed, the output of the test suite is always buffered as the test output needs to be included in the JUnit file in same cases (as when a test fails). This has the consequence that printing or using debuggers (like pdb) in the test suite does not result in a good user experience anymore. This commit modifies the test suite runner so it only captures the test output when the JUnit file is requested to fix the regression so prints and debuggers are usable again.
* bpo-34582: Adds JUnit XML output for regression tests (GH-9210)Steve Dower2018-09-181-0/+201