-
-
Notifications
You must be signed in to change notification settings - Fork 30.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Rewrite TestResult as a dataclass with a new State class. * Add test.support.TestStats class and Regrtest.stats_dict attribute. * libregrtest.runtest functions now modify a TestResult instance in-place. * libregrtest summary lists the number of run tests and skipped tests, and denied resources. * test_main() of test_netrc, test_pep646_syntax and test_xml_etree now return results. * Add TestResult.has_meaningful_duration() method * Use match/case syntadx to have different code depending on the test state. * Rename CHILD_ERROR to MULTIPROCESSING_ERROR * Compute TestResult duration in the upper function Co-authored-by: Alex Waygood <[email protected]>
- Loading branch information
1 parent
594b000
commit 8b407a2
Showing
10 changed files
with
479 additions
and
294 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.