diff --git a/test/test_token.py b/test/test_token.py
index 60a06bea97f98032f7669f0fae9dd828108fbf4c..505a0c816a79012b6dfeeac975090216803b977a 100644 (file)
--- a/test/test_token.py
+++ b/test/test_token.py
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#
-# $Id: test_token.py,v 1.1 2001-12-31 05:09:20 richard Exp $
+# $Id: test_token.py,v 1.3 2003-10-25 22:53:26 richard Exp $
import unittest, time
self.assertRaises(ValueError, token_split, '"hello world')
self.assertRaises(ValueError, token_split, "Roch'e Compaan")
-def suite():
- return unittest.makeSuite(TokenTestCase, 'test')
+def test_suite():
+ suite = unittest.TestSuite()
+ suite.addTest(unittest.makeSuite(TokenTestCase))
+ return suite
+if __name__ == '__main__':
+ runner = unittest.TextTestRunner()
+ unittest.main(testRunner=runner)
-#
-# $Log: not supported by cvs2svn $
-#
-#
# vim: set filetype=python ts=4 sw=4 et si