[Zope3-checkins] CVS: Zope3/src/zope/app/publication/tests - test_zopepublication.py:1.18

Jeremy Hylton cvs-admin at zope.org
Mon Nov 3 16:38:29 EST 2003


Update of /cvs-repository/Zope3/src/zope/app/publication/tests
In directory cvs.zope.org:/tmp/cvs-serv3612/app/publication/tests

Modified Files:
	test_zopepublication.py 
Log Message:
Remove unused local variables.


=== Zope3/src/zope/app/publication/tests/test_zopepublication.py 1.17 => 1.18 ===
--- Zope3/src/zope/app/publication/tests/test_zopepublication.py:1.17	Sun Sep 21 13:32:37 2003
+++ Zope3/src/zope/app/publication/tests/test_zopepublication.py	Mon Nov  3 16:37:58 2003
@@ -139,7 +139,6 @@
 
     def setUp(self):
         BasePublicationTests.setUp(self)
-        root = self.db.open().root()
         self.out = StringIO()
         self.request = TestRequest('/f1/f2', outstream=self.out)
         from zope.interface import Interface
@@ -160,7 +159,6 @@
 
     def testRetryNotAllowed(self):
         from zodb.interfaces import ConflictError
-        from zope.publisher.interfaces import Retry
         try:
             raise ConflictError
         except:
@@ -195,7 +193,6 @@
         self.assertEqual(self.out.getvalue(), view_text)
 
     def testNoViewOnClassicClassException(self):
-        from zodb.interfaces import ConflictError
         from zope.interface import Interface
         from types import ClassType
         class ClassicError:




More information about the Zope3-Checkins mailing list