hghave: test hotshot dependencies (debian does not provide profile)
authorPatrick Mezard <pmezard@gmail.com>
Tue, 14 Aug 2007 19:25:49 +0200
changeset 5164 e5b21a549cc5
parent 5162 9b0efeb725f4
child 5165 5bf7a7abb94e
child 5166 7706ff46ef45
hghave: test hotshot dependencies (debian does not provide profile)
tests/hghave
--- 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