comparison test/grind.py @ 287:1c7c1e619be8

File movage
author Windel Bouwman
date Thu, 21 Nov 2013 11:57:27 +0100
parents python/grind.py@444b9df2ed99
children be7f60545368
comparison
equal deleted inserted replaced
286:d9df72971cbf 287:1c7c1e619be8
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 s = cProfile.run('runtests()',sort='tottime')
12