1. Lee alayii
  2. sqlalchemy

Commits

jason kirtland  committed 6300c54

Um... "ImportError: No module named profile; please install the python-profiler package"

  • Participants
  • Parent commits ad7a669
  • Branches rel_0_4

Comments (0)

Files changed (1)

File test/testlib/profiling.py

View file
  • Ignore whitespace
 """Profiling support for unit and performance tests."""
 
-import time, hotshot, hotshot.stats
 from testlib.config import parser, post_configure
 import testlib.config
 
     configuration and command-line options.
     """
 
+    import time, hotshot, hotshot.stats
+
     # manual or automatic namespacing by module would remove conflict issues
     if target in all_targets:
         print "Warning: redefining profile target '%s'" % target