[Zope3-checkins] CVS: Zope3/lib/python/Zope/ContextWrapper/tests - testSimpleMethodWrapper.py:1.4

Steve Alexander steve@cat-box.net
Thu, 31 Oct 2002 07:52:39 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/ContextWrapper/tests
In directory cvs.zope.org:/tmp/cvs-serv3849/lib/python/Zope/ContextWrapper/tests

Modified Files:
	testSimpleMethodWrapper.py 
Log Message:
This test didn't work with python2.2 because of my use of super.

Changed that line to work with both 2.2 and 2.3.



=== Zope3/lib/python/Zope/ContextWrapper/tests/testSimpleMethodWrapper.py 1.3 => 1.4 ===
--- Zope3/lib/python/Zope/ContextWrapper/tests/testSimpleMethodWrapper.py:1.3	Thu Oct 31 07:30:49 2002
+++ Zope3/lib/python/Zope/ContextWrapper/tests/testSimpleMethodWrapper.py	Thu Oct 31 07:52:38 2002
@@ -122,7 +122,7 @@
         return NewStyleClass()
 
     def setUp(self):
-        super(TestNewStyleClass, self).setUp()
+        unittest.TestCase.setUp(self)
         self.obj = self.createObject()
         self.wrapped = Wrapper(self.obj)
         self.assertEqual(self.obj.result, None)