Log message for revision 79848: Reset module-level globals before each test (backported from trunk).
Changed: U Zope/branches/2.10/lib/python/Testing/ZopeTestCase/testBaseTestCase.py -=- Modified: Zope/branches/2.10/lib/python/Testing/ZopeTestCase/testBaseTestCase.py =================================================================== --- Zope/branches/2.10/lib/python/Testing/ZopeTestCase/testBaseTestCase.py 2007-09-23 11:49:54 UTC (rev 79847) +++ Zope/branches/2.10/lib/python/Testing/ZopeTestCase/testBaseTestCase.py 2007-09-23 15:00:09 UTC (rev 79848) @@ -405,6 +405,7 @@ _sentinel1.append('__del__') def afterSetUp(self): + _sentinel1[:] = [] self.anApp = base.app() self.anApp.REQUEST._hold(self.Held()) @@ -422,6 +423,7 @@ _sentinel2.append('__del__') def afterSetUp(self): + _sentinel2[:] = [] self.app.REQUEST._hold(self.Held()) def testClearClosesRequest(self): @@ -438,6 +440,7 @@ _sentinel3.append('__del__') def afterSetUp(self): + _sentinel3[:] = [] self.app.REQUEST._hold(self.Held()) def testClearClosesRequest(self): _______________________________________________ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins