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