[Zope-Checkins] CVS: Zope/lib/python/Products/PluginIndexes/TextIndex/tests - testSplitter.py:1.6.16.1
Jens Vagelpohl
jens@zope.com
Wed, 23 Jan 2002 09:55:58 -0500
Update of /cvs-repository/Zope/lib/python/Products/PluginIndexes/TextIndex/tests
In directory cvs.zope.org:/tmp/cvs-serv29873
Modified Files:
Tag: Zope-2_5-branch
testSplitter.py
Log Message:
Backporting change to ISO splitter unit test which prevented the tests
from completing under Mac OS X
=== Zope/lib/python/Products/PluginIndexes/TextIndex/tests/testSplitter.py 1.6 => 1.6.16.1 ===
def testISOSplitter(self):
"""test ISOSplitter"""
+ import sys, warnings
+
+ if sys.platform in ('darwin5',):
+ warnings.warn("Due to internal problems on Mac OS-X, this test is disabled")
+ return
for text,splitted in self.testdata:
self._test("ISO_8859_1_Splitter",text,splitted)