diff options
author | Georg Brandl <georg@python.org> | 2009-09-17 11:48:31 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-09-17 11:48:31 (GMT) |
commit | ebf3adc4fe3fc39dfbe78bde19d029a31d92c68a (patch) | |
tree | cb4c5580d4b6754b230947f9192753e82b6d6522 /Lib | |
parent | e9741f3ed8487da1d7c8ac8b0c04d3f09802fb1a (diff) | |
download | cpython-ebf3adc4fe3fc39dfbe78bde19d029a31d92c68a.zip cpython-ebf3adc4fe3fc39dfbe78bde19d029a31d92c68a.tar.gz cpython-ebf3adc4fe3fc39dfbe78bde19d029a31d92c68a.tar.bz2 |
#6844 followup: the warning when setting Exception.message was removed, do not test for it.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_pep352.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Lib/test/test_pep352.py b/Lib/test/test_pep352.py index d2429eb..c6d3a8d 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): |