[Python-checkins] r74873 - python/trunk/Lib/test/test_pep352.py

georg.brandl python-checkins at python.org
Thu Sep 17 13:48:32 CEST 2009


Author: georg.brandl
Date: Thu Sep 17 13:48:31 2009
New Revision: 74873
Log:
#6844 followup: the warning when setting Exception.message was removed, do not test for it.
Modified:
 python/trunk/Lib/test/test_pep352.py
Modified: python/trunk/Lib/test/test_pep352.py
==============================================================================
--- python/trunk/Lib/test/test_pep352.py	(original)
+++ python/trunk/Lib/test/test_pep352.py	Thu Sep 17 13:48:31 2009
@@ -143,13 +143,6 @@
 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):
 


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /