diff tests/hghave @ 5164:e5b21a549cc5

hghave: test hotshot dependencies (debian does not provide profile)
author Patrick Mezard <pmezard@gmail.com>
date Tue, 14 Aug 2007 19:25:49 +0200
parents 9b0efeb725f4
children 4fa0f2dff643
line wrap: on
line diff
--- a/tests/hghave
+++ b/tests/hghave
@@ -37,7 +37,9 @@ def has_eol_in_paths():
 
 def has_hotshot():
     try:
-        import hotshot
+        # hotshot.stats tests hotshot and many problematic dependencies
+        # like profile.
+        import hotshot.stats
         return True
     except ImportError:
         return False