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:
Georg Brandl 2009-09-17 11:49:20 +00:00
parent f7a09bec0a
commit 015263339f
1 changed files with 0 additions and 7 deletions

View File

@ -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):