#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:48:31 +00:00
parent e9741f3ed8
commit ebf3adc4fe
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):