]> granicus.if.org Git - python/commitdiff
Merged revisions 74873 via svnmerge from
authorGeorg Brandl <georg@python.org>
Thu, 17 Sep 2009 11:49:20 +0000 (11:49 +0000)
committerGeorg Brandl <georg@python.org>
Thu, 17 Sep 2009 11:49:20 +0000 (11:49 +0000)
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.
........

Lib/test/test_pep352.py

index e33552809f456144cce4ee4d999d9464f3e8d88c..313c60780ed2b79ce64c373f387c96b2ac0edf96 100644 (file)
@@ -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):