summaryrefslogtreecommitdiff
path: root/test/testlib/profiling.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/testlib/profiling.py')
-rw-r--r--test/testlib/profiling.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/testlib/profiling.py b/test/testlib/profiling.py
index b452d1fb8..e423b9904 100644
--- a/test/testlib/profiling.py
+++ b/test/testlib/profiling.py
@@ -1,8 +1,7 @@
"""Profiling support for unit and performance tests."""
import os, sys
-from testlib.config import parser, post_configure
-from testlib.compat import *
+from testlib.compat import set, _function_named
import testlib.config
__all__ = 'profiled', 'function_call_count', 'conditional_call_count'
@@ -26,8 +25,6 @@ def profiled(target=None, **target_opts):
configuration and command-line options.
"""
- import time, hotshot, hotshot.stats
-
# manual or automatic namespacing by module would remove conflict issues
if target is None:
target = 'anonymous_target'