comparison python/grind.py @ 245:66912720d712

Added grinder
author Windel Bouwman
date Wed, 24 Jul 2013 22:40:29 +0200
parents
children 444b9df2ed99
comparison
equal deleted inserted replaced
244:58155c7c4a8e 245:66912720d712
1
2 import cProfile
3 import unittest
4 import pstats
5
6 if __name__ == '__main__':
7 suite = unittest.TestLoader().discover('.')
8 def runtests():
9 unittest.TextTestRunner().run(suite)
10 s = cProfile.run('runtests()',sort='cumtime')
11