Commit ebf3adc4 authored by Georg Brandl's avatar Georg Brandl

#6844 followup: the warning when setting Exception.message was removed, do not test for it.

parent e9741f3e
......@@ -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):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment