run_trial: don't do anything on import

That broke check-interfaces.py, which imports everything.
This commit is contained in:
Brian Warner 2016-08-19 17:17:52 -07:00
parent 36c57c74f4
commit 2e7c7d30c9

View File

@ -11,6 +11,6 @@
# So use:
# "coverage run -m allmydata.test.run_trial ARGS"
from twisted.scripts.trial import run
run()
if __name__ == "__main__":
from twisted.scripts.trial import run
run()