From: Georg Brandl Date: Thu, 17 Sep 2009 11:48:31 +0000 (+0000) Subject: #6844 followup: the warning when setting Exception.message was removed, do not test... X-Git-Tag: v2.7a1~514 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ebf3adc4fe3fc39dfbe78bde19d029a31d92c68a;p=python #6844 followup: the warning when setting Exception.message was removed, do not test for it. --- diff --git a/Lib/test/test_pep352.py b/Lib/test/test_pep352.py index d2429ebcfb..c6d3a8dcc1 100644 --- a/Lib/test/test_pep352.py +++ b/Lib/test/test_pep352.py @@ -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):