[Zope-Checkins] CVS: Zope/lib/python/Products/ZCTextIndex/tests - testZCTextIndex.py:1.37.2.1

Tres Seaver cvs-admin at zope.org
Mon Nov 17 17:34:43 EST 2003


Update of /cvs-repository/Zope/lib/python/Products/ZCTextIndex/tests
In directory cvs.zope.org:/tmp/cvs-serv16574/lib/python/Products/ZCTextIndex/tests

Modified Files:
      Tag: Zope-2_7-branch
	testZCTextIndex.py 
Log Message:
 - Merge tseaver-strexp_delenda-branch to the 2.7 branch.


=== Zope/lib/python/Products/ZCTextIndex/tests/testZCTextIndex.py 1.37 => 1.37.2.1 ===
--- Zope/lib/python/Products/ZCTextIndex/tests/testZCTextIndex.py:1.37	Thu Jun  5 15:43:55 2003
+++ Zope/lib/python/Products/ZCTextIndex/tests/testZCTextIndex.py	Mon Nov 17 17:34:12 2003
@@ -14,6 +14,7 @@
 
 from Interface.Verify import verifyClass
 import Acquisition
+from zExceptions import NotFound
 
 from Products.PluginIndexes.common.PluggableIndex import \
      PluggableIndexInterface
@@ -48,7 +49,7 @@
 def dummyUnrestrictedTraverse(self, path):
     if path == ('', 'lexicon',):
         return self.lexicon
-    raise 'NotFound', path
+    raise NotFound, path
 
 # The tests classes below create a ZCTextIndex().  Then they create
 # instance variables that point to the internal components used by




More information about the Zope-Checkins mailing list