Skip to content
This repository has been archived by the owner on May 13, 2020. It is now read-only.

Commit

Permalink
Disable tests using verify_class_implementation(), which has
Browse files Browse the repository at this point in the history
disappeared from the Interface package.  What replaces it?
  • Loading branch information
gvanrossum committed Jun 10, 2002
1 parent c9edf2b commit f18938b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions tests/testQueryParser.py
Expand Up @@ -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
Expand Down Expand Up @@ -289,7 +289,7 @@ def process(self, list):
def test_suite():
return TestSuite((makeSuite(TestQueryParser),
makeSuite(StopWordTestQueryParser),
makeSuite(TestInterfaces),
## makeSuite(TestInterfaces),
))


Expand Down
6 changes: 3 additions & 3 deletions tests/testZCTextIndex.py
Expand Up @@ -12,7 +12,7 @@
#
##############################################################################

from Interface import verify_class_implementation
##from Interface import verify_class_implementation

from Products.PluginIndexes.common.PluggableIndex import \
PluggableIndexInterface
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit f18938b

Please sign in to comment.