From ebf3adc4fe3fc39dfbe78bde19d029a31d92c68a Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Thu, 17 Sep 2009 11:48:31 +0000 Subject: [PATCH] #6844 followup: the warning when setting Exception.message was removed, do not test for it. --- Lib/test/test_pep352.py | 7 ------- 1 file changed, 7 deletions(-) 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): -- 2.50.0