diff options
author | Michael Foord <fuzzyman@voidspace.org.uk> | 2010-12-19 03:19:47 (GMT) |
---|---|---|
committer | Michael Foord <fuzzyman@voidspace.org.uk> | 2010-12-19 03:19:47 (GMT) |
commit | b3468f79efa45c8adaf86c0b9b797b9b3d4c12a2 (patch) | |
tree | 14e9ae4dcb071ee7bf154026ecac93c3ea352c7a /Misc | |
parent | addc6f5a21d5d04c5bf895e8ea46f67de129d75c (diff) | |
download | cpython-b3468f79efa45c8adaf86c0b9b797b9b3d4c12a2.zip cpython-b3468f79efa45c8adaf86c0b9b797b9b3d4c12a2.tar.gz cpython-b3468f79efa45c8adaf86c0b9b797b9b3d4c12a2.tar.bz2 |
Issue 10611. Issue 9857. Improve the way exception handling, including test skipping, is done inside TestCase.run
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 7 | ||||
-rw-r--r-- | Misc/python-wing4.wpr | 4 |
2 files changed, 9 insertions, 2 deletions
@@ -23,6 +23,11 @@ Core and Builtins Library ------- +- Issue #10611: SystemExit exception will no longer kill a unittest run. + +- Issue #9857: It is now possible to skip a test in a setUp, tearDown or clean + up function. + - Issue #10573: use actual/expected consistently in unittest methods. The order of the args of assertCountEqual is also changed. @@ -322,7 +327,7 @@ Library - configparser: the SafeConfigParser class has been renamed to ConfigParser. The legacy ConfigParser class has been removed but its interpolation mechanism is still available as LegacyInterpolation. - + - configparser: Usage of RawConfigParser is now discouraged for new projects in favor of ConfigParser(interpolation=None). diff --git a/Misc/python-wing4.wpr b/Misc/python-wing4.wpr index c3f1537..795b694 100644 --- a/Misc/python-wing4.wpr +++ b/Misc/python-wing4.wpr @@ -5,8 +5,10 @@ ################################################################## [project attributes] proj.directory-list = [{'dirloc': loc('..'), - 'excludes': [u'Lib/__pycache__', + 'excludes': [u'Lib/unittest/test/__pycache__', + u'Lib/__pycache__', u'Doc/build', + u'Lib/unittest/__pycache__', u'build'], 'filter': '*', 'include_hidden': False, |