diff options
author | Robert Collins <rbtcollins@hp.com> | 2014-10-20 00:24:05 (GMT) |
---|---|---|
committer | Robert Collins <rbtcollins@hp.com> | 2014-10-20 00:24:05 (GMT) |
commit | f920c2122b86857f6c6b61ba857ba5f51dccf7d0 (patch) | |
tree | 2984e2d2ee149bbc36bd7f8be2881ca392e664d5 /Misc | |
parent | 1ed2e69a4ac1a4ac5a83ce3ab332b3051eaf59f0 (diff) | |
download | cpython-f920c2122b86857f6c6b61ba857ba5f51dccf7d0.zip cpython-f920c2122b86857f6c6b61ba857ba5f51dccf7d0.tar.gz cpython-f920c2122b86857f6c6b61ba857ba5f51dccf7d0.tar.bz2 |
Close #19746: expose unittest discovery errors on TestLoader.errors
This makes it possible to examine the errors from unittest discovery
without executing the test suite - important when the test suite may
be very large, or when enumerating the test ids from a test suite.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -186,6 +186,10 @@ Library - Issue #9351: Defaults set with set_defaults on an argparse subparser are no longer ignored when also set on the parent parser. +- Issue #19746: Make it possible to examine the errors from unittest + discovery without executing the test suite. The new `errors` attribute + on TestLoader exposes these non-fatal errors encountered during discovery. + - Issue #21991: Make email.headerregistry's header 'params' attributes be read-only (MappingProxyType). Previously the dictionary was modifiable but a new one was created on each access of the attribute. |