diff options
| author | Andi Albrecht <albrecht.andi@gmail.com> | 2009-06-08 06:16:29 +0200 |
|---|---|---|
| committer | Andi Albrecht <albrecht.andi@gmail.com> | 2009-06-08 06:16:29 +0200 |
| commit | 393dfcabc22d7cb20e3dbd408df5087ce500fa8c (patch) | |
| tree | 736682ee43f32c0acbc00c7f5f825613690863e5 /tests | |
| parent | 23b7c31ed14642b5fd9133bfecd03e0228f9be4a (diff) | |
| download | sqlparse-393dfcabc22d7cb20e3dbd408df5087ce500fa8c.tar.gz | |
Conditional hotshot import.
Diffstat (limited to 'tests')
| -rwxr-xr-x | tests/run_tests.py | 2 |
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() |
