Merged revisions 74873 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r74873 | georg.brandl | 2009-09-17 13:48:31 +0200 (Do, 17 Sep 2009) | 1 line #6844 followup: the warning when setting Exception.message was removed, do not test for it. ........
This commit is contained in:
parent
f7a09bec0a
commit
015263339f
|
@ -143,13 +143,6 @@ class ExceptionClassTests(unittest.TestCase):
|
|||
else:
|
||||
self.fail("BaseException.message not deprecated")
|
||||
|
||||
exc = BaseException()
|
||||
try:
|
||||
exc.message = ''
|
||||
except DeprecationWarning:
|
||||
pass
|
||||
else:
|
||||
self.fail("BaseException.message assignment not deprecated")
|
||||
|
||||
class UsageTests(unittest.TestCase):
|
||||
|
||||
|
|
Loading…
Reference in New Issue