[Zope-Checkins] CVS: Zope/lib/python/Products/PluginIndexes/TextIndex/Splitter/UnicodeSplitter/tests - testUnicodeSplitter.py:1.5
Martijn Pieters
mj@zope.com
Wed, 14 Aug 2002 18:20:04 -0400
Update of /cvs-repository/Zope/lib/python/Products/PluginIndexes/TextIndex/Splitter/UnicodeSplitter/tests
In directory cvs.zope.org:/tmp/cvs-serv24540/TextIndex/Splitter/UnicodeSplitter/tests
Modified Files:
testUnicodeSplitter.py
Log Message:
Clean up indentation and trailing whitespace.
=== Zope/lib/python/Products/PluginIndexes/TextIndex/Splitter/UnicodeSplitter/tests/testUnicodeSplitter.py 1.4 => 1.5 ===
--- Zope/lib/python/Products/PluginIndexes/TextIndex/Splitter/UnicodeSplitter/tests/testUnicodeSplitter.py:1.4 Fri Oct 19 16:00:48 2001
+++ Zope/lib/python/Products/PluginIndexes/TextIndex/Splitter/UnicodeSplitter/tests/testUnicodeSplitter.py Wed Aug 14 18:19:32 2002
@@ -18,7 +18,7 @@
def testSimpleSplit(self):
- """ testing splitter functionality """
+ """ testing splitter functionality """
for t,expected in self.testdata:
fields = list(UnicodeSplitter(t))
@@ -38,7 +38,7 @@
fields = list(splitter)
self.assertEquals(fields, expected)
self.assertEquals(splitter.indexes('jumps'), [3])
-
+
def test_suite():
return unittest.makeSuite(UnicodeSplitterTests)
@@ -54,7 +54,7 @@
unittest.TextTestRunner().run( test_suite() )
if __name__ == '__main__':
- if len(sys.argv) > 1:
- globals()[sys.argv[1]]()
- else:
- main()
+ if len(sys.argv) > 1:
+ globals()[sys.argv[1]]()
+ else:
+ main()