[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/OFS/Container/tests - testZopeContainerAdpter.py:1.3
Guido van Rossum
guido@python.org
Tue, 19 Nov 2002 14:10:07 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Container/tests
In directory cvs.zope.org:/tmp/cvs-serv23707/lib/python/Zope/App/OFS/Container/tests
Modified Files:
testZopeContainerAdpter.py
Log Message:
Remove redundancies from base class lists, to avoid MRO errors in Python 2.3.
=== Zope3/lib/python/Zope/App/OFS/Container/tests/testZopeContainerAdpter.py 1.2 => 1.3 ===
--- Zope3/lib/python/Zope/App/OFS/Container/tests/testZopeContainerAdpter.py:1.2 Mon Nov 18 18:52:59 2002
+++ Zope3/lib/python/Zope/App/OFS/Container/tests/testZopeContainerAdpter.py Tue Nov 19 14:10:06 2002
@@ -1,4 +1,3 @@
-
##############################################################################
#
# Copyright (c) 2001, 2002 Zope Corporation and Contributors.
@@ -40,16 +39,15 @@
def manage_afterAdd(self, object, container):
self.notified += 1
-class Test(PlacelessSetup, BaseTestIZopeItemContainer, \
- BaseTestIZopeSimpleReadContainer, \
- BaseTestIZopeReadContainer, BaseTestIZopeWriteContainer,\
+class Test(PlacelessSetup,
+ BaseTestIZopeSimpleReadContainer,
+ BaseTestIZopeReadContainer,
+ BaseTestIZopeWriteContainer,
TestCase):
-
def setUp(self):
PlacelessSetup.setUp(self)
- from Zope.App.OFS.Container.SampleContainer \
- import SampleContainer
+ from Zope.App.OFS.Container.SampleContainer import SampleContainer
self.__container = SampleContainer()
def _sampleMapping(self):