changeset 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 5bf7a7abb94e 7706ff46ef45
files tests/hghave
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
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