From: Georg Brandl Date: Thu, 4 Jun 2009 10:10:41 +0000 (+0000) Subject: Better name for "Ctor". X-Git-Tag: v2.7a1~1030 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=46121e79cedce6a6daba9ebd39d7ff345f3f15b7;p=python Better name for "Ctor". --- diff --git a/Lib/test/test_with.py b/Lib/test/test_with.py index 68ae890f3d..b91e0fd91d 100644 --- a/Lib/test/test_with.py +++ b/Lib/test/test_with.py @@ -675,7 +675,7 @@ class NestedWith(unittest.TestCase): if self.gobble: return True - class CtorRaises(object): + class InitRaises(object): def __init__(self): raise RuntimeError() class EnterRaises(object): @@ -695,7 +695,7 @@ class NestedWith(unittest.TestCase): def testExceptionInExprList(self): try: - with self.Dummy() as a, self.CtorRaises(): + with self.Dummy() as a, self.InitRaises(): pass except: pass