[Python-checkins] r74874 - in python/branches/release26-maint: Lib/test/test_pep352.py

georg.brandl python-checkins at python.org
Thu Sep 17 13:49:21 CEST 2009


Author: georg.brandl
Date: Thu Sep 17 13:49:20 2009
New Revision: 74874

Log:
Merged revisions 74873 via svnmerge from 
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74873 | georg.brandl | 2009-09-17 13:48:31 +0200 (Do, 17 Sep 2009) | 1 line
  
  #6844 followup: the warning when setting Exception.message was removed, do not test for it.
........


Modified:
   python/branches/release26-maint/   (props changed)
   python/branches/release26-maint/Lib/test/test_pep352.py

Modified: python/branches/release26-maint/Lib/test/test_pep352.py
==============================================================================
--- python/branches/release26-maint/Lib/test/test_pep352.py	(original)
+++ python/branches/release26-maint/Lib/test/test_pep352.py	Thu Sep 17 13:49:20 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