Moved the print statement to happen right before tests start (so it doesn't show up when running it with, for instance, the --help option).

This commit is contained in:
Jeremy Fincher 2005-01-26 06:36:57 +00:00
parent d9689f818b
commit 7094bec81f

View File

@ -33,8 +33,6 @@ import os
import time
started = time.time()
print 'Testing began at %s (pid %s)' % (time.ctime(), os.getpid())
import supybot
import logging
@ -179,6 +177,7 @@ if __name__ == '__main__':
suite = unittest.TestSuite(test.suites)
runner = unittest.TextTestRunner(verbosity=2)
print 'Testing began at %s (pid %s)' % (time.ctime(), os.getpid())
runner.run(suite)
if hasattr(unittest, 'asserts'):