Ticket #2219: trial.patch
| File trial.patch, 0.8 KB (added by sifu, 7 years ago) |
|---|
-
scripts/trial.py
6 6 7 7 import sys, os, random, gc, time, sets 8 8 9 from twisted.internet import reactor 9 10 from twisted.internet import defer 10 11 from twisted.application import app 11 12 from twisted.python import usage, reflect, failure … … 337 338 workingDirectory=config['temp-directory']) 338 339 339 340 340 def run():341 def _run(): 341 342 if len(sys.argv) == 1: 342 343 sys.argv.append("--help") 343 344 config = Options() … … 359 360 coverdir=config.coverdir) 360 361 sys.exit(not test_result.wasSuccessful()) 361 362 363 def run(): 364 reactor.callLater( 0, _run ) 365 reactor.run( )
