mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 03:02:52 +01:00
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:
parent
d9689f818b
commit
7094bec81f
@ -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'):
|
||||
|
Loading…
Reference in New Issue
Block a user