[Zope-Checkins] CVS: Zope/lib/python/Products/PluginIndexes/TextIndexNG/tests - testGlobbingLexiconNG.py:1.1.2.3

Andreas Jung andreas@digicool.com
Sat, 12 Jan 2002 14:58:13 -0500


Update of /cvs-repository/Zope/lib/python/Products/PluginIndexes/TextIndexNG/tests
In directory cvs.zope.org:/tmp/cvs-serv20860/tests

Modified Files:
      Tag: ajung-textindexng-branch
	testGlobbingLexiconNG.py 
Log Message:
mixed Unicode/Latin1 test is no longer executed when sysencoding is 
set to ascii


=== Zope/lib/python/Products/PluginIndexes/TextIndexNG/tests/testGlobbingLexiconNG.py 1.1.2.2 => 1.1.2.3 ===
         
         if sys.getdefaultencoding()=='ascii':
-            print 'Warning: this test is known to fail '\
+            print 'Warning: this test is known to fail' \
                   'with defaultencoding="ascii"'
+            print 'Test will not be executed.'
+
+            return
 
         L = self._lexicon