annotate python/grind.py @ 249:e41e4109addd

Added current position arrow
author Windel Bouwman
date Fri, 26 Jul 2013 20:26:05 +0200
parents 66912720d712
children 444b9df2ed99
rev   line source
245
66912720d712 Added grinder
Windel Bouwman
parents:
diff changeset
1
66912720d712 Added grinder
Windel Bouwman
parents:
diff changeset
2 import cProfile
66912720d712 Added grinder
Windel Bouwman
parents:
diff changeset
3 import unittest
66912720d712 Added grinder
Windel Bouwman
parents:
diff changeset
4 import pstats
66912720d712 Added grinder
Windel Bouwman
parents:
diff changeset
5
66912720d712 Added grinder
Windel Bouwman
parents:
diff changeset
6 if __name__ == '__main__':
66912720d712 Added grinder
Windel Bouwman
parents:
diff changeset
7 suite = unittest.TestLoader().discover('.')
66912720d712 Added grinder
Windel Bouwman
parents:
diff changeset
8 def runtests():
66912720d712 Added grinder
Windel Bouwman
parents:
diff changeset
9 unittest.TextTestRunner().run(suite)
66912720d712 Added grinder
Windel Bouwman
parents:
diff changeset
10 s = cProfile.run('runtests()',sort='cumtime')
66912720d712 Added grinder
Windel Bouwman
parents:
diff changeset
11