summaryrefslogtreecommitdiff
path: root/Lib/test/test_pep352.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-09-17 11:48:31 +0000
committerGeorg Brandl <georg@python.org>2009-09-17 11:48:31 +0000
commitebf3adc4fe3fc39dfbe78bde19d029a31d92c68a (patch)
treecb4c5580d4b6754b230947f9192753e82b6d6522 /Lib/test/test_pep352.py
parente9741f3ed8487da1d7c8ac8b0c04d3f09802fb1a (diff)
downloadcpython-git-ebf3adc4fe3fc39dfbe78bde19d029a31d92c68a.tar.gz
#6844 followup: the warning when setting Exception.message was removed, do not test for it.
Diffstat (limited to 'Lib/test/test_pep352.py')
-rw-r--r--Lib/test/test_pep352.py7
1 files changed, 0 insertions, 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):