diff test/test_token.py @ 5037:364c54991861

Remove unneeded TestSuite code from tests The TestSuite code is no longer needed now that we are using py.test which can automatically discover tests
author John Kristensen <john@jerrykan.com>
date Fri, 21 Aug 2015 13:08:02 +1000
parents 6e3e4f24c753
children 6971c9249c6d
line wrap: on
line diff
--- a/test/test_token.py	Thu Aug 20 18:15:23 2015 +1000
+++ b/test/test_token.py	Fri Aug 21 13:08:02 2015 +1000
@@ -47,13 +47,4 @@
         self.assertRaises(ValueError, token_split, '"hello world')
         self.assertRaises(ValueError, token_split, "Roch'e Compaan")
 
-def test_suite():
-    suite = unittest.TestSuite()
-    suite.addTest(unittest.makeSuite(TokenTestCase))
-    return suite
-
-if __name__ == '__main__':
-    runner = unittest.TextTestRunner()
-    unittest.main(testRunner=runner)
-
 # vim: set filetype=python ts=4 sw=4 et si

Roundup Issue Tracker: http://roundup-tracker.org/