diff --git a/src/wormhole/test/run_trial.py b/src/wormhole/test/run_trial.py index 9b58cfa..1c9ffee 100644 --- a/src/wormhole/test/run_trial.py +++ b/src/wormhole/test/run_trial.py @@ -11,6 +11,6 @@ from __future__ import unicode_literals # So use: # "coverage run -m wormhole.test.run_trial ARGS" -from twisted.scripts.trial import run - -run() +if __name__ == "__main__": + from twisted.scripts.trial import run + run()