mirror of https://github.com/python/cpython
#6844 followup: the warning when setting Exception.message was removed, do not test for it.
This commit is contained in:
parent
e9741f3ed8
commit
ebf3adc4fe
|
@ -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):
|
||||
|
||||
|
|
Loading…
Reference in New Issue