hghave: test hotshot dependencies (debian does not provide profile)
authorPatrick Mezard <pmezard@gmail.com>
Tue, 14 Aug 2007 19:25:49 +0200
changeset 5103 e5b21a549cc5
parent 5102 9b0efeb725f4
child 5104 7706ff46ef45
child 5169 5bf7a7abb94e
hghave: test hotshot dependencies (debian does not provide profile)
tests/hghave
--- a/tests/hghave	Tue Aug 14 18:53:45 2007 +0200
+++ b/tests/hghave	Tue Aug 14 19:25:49 2007 +0200
@@ -37,7 +37,9 @@
 
 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