From f18938b68bf782b3d93235c09895eb7cb8167fea Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Mon, 10 Jun 2002 15:34:49 +0000 Subject: [PATCH] Disable tests using verify_class_implementation(), which has disappeared from the Interface package. What replaces it? --- tests/testQueryParser.py | 4 ++-- tests/testZCTextIndex.py | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/testQueryParser.py b/tests/testQueryParser.py index 2c42210..b3b573f 100644 --- a/tests/testQueryParser.py +++ b/tests/testQueryParser.py @@ -14,7 +14,7 @@ from unittest import TestCase, TestSuite, main, makeSuite -from Interface import verify_class_implementation +##from Interface import verify_class_implementation from Products.ZCTextIndex.IQueryParser import IQueryParser from Products.ZCTextIndex.IQueryParseTree import IQueryParseTree @@ -289,7 +289,7 @@ def process(self, list): def test_suite(): return TestSuite((makeSuite(TestQueryParser), makeSuite(StopWordTestQueryParser), - makeSuite(TestInterfaces), +## makeSuite(TestInterfaces), )) diff --git a/tests/testZCTextIndex.py b/tests/testZCTextIndex.py index 8110d2d..a8fe136 100644 --- a/tests/testZCTextIndex.py +++ b/tests/testZCTextIndex.py @@ -12,7 +12,7 @@ # ############################################################################## -from Interface import verify_class_implementation +##from Interface import verify_class_implementation from Products.PluginIndexes.common.PluggableIndex import \ PluggableIndexInterface @@ -188,8 +188,8 @@ class CosineIndexTests(ZCIndexTestsBase, testIndex.CosineIndexTest): # Gigabytes, pp. 180-188. This test peeks into many internals of the # cosine indexer. - def testInterface(self): - verify_class_implementation(PluggableIndexInterface, ZCTextIndex) +## def testInterface(self): +## verify_class_implementation(PluggableIndexInterface, ZCTextIndex) def testRanking(self): self.words = ["cold", "days", "eat", "hot", "lot", "nine", "old",