summaryrefslogtreecommitdiff
path: root/tests/run_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run_tests.py')
-rwxr-xr-xtests/run_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/run_tests.py b/tests/run_tests.py
index 0679307..7240f2f 100755
--- a/tests/run_tests.py
+++ b/tests/run_tests.py
@@ -3,7 +3,6 @@
"""Test runner for sqlparse."""
-import hotshot
import optparse
import os
import sys
@@ -38,6 +37,7 @@ def main(args):
if __name__ == '__main__':
opts, args = parser.parse_args()
if opts.profile:
+ import hotshot
prof = hotshot.Profile("sqlparse.prof")
prof.runcall(main, args)
prof.close()