summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorRobert Collins <rbtcollins@hp.com>2014-10-20 00:24:05 (GMT)
committerRobert Collins <rbtcollins@hp.com>2014-10-20 00:24:05 (GMT)
commitf920c2122b86857f6c6b61ba857ba5f51dccf7d0 (patch)
tree2984e2d2ee149bbc36bd7f8be2881ca392e664d5 /Misc
parent1ed2e69a4ac1a4ac5a83ce3ab332b3051eaf59f0 (diff)
downloadcpython-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/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 5d1b807..300818a 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -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.