changeset 13289:58b26b360a57

hghave: remove unused hotshot check
author Patrick Mezard <pmezard@gmail.com>
date Sun, 23 Jan 2011 12:30:15 +0100
parents 9c3bfba3f48d
children 82133e91ce7d
files tests/hghave
diffstat 1 files changed, 0 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/tests/hghave	Sat Jan 22 16:29:10 2011 +0100
+++ b/tests/hghave	Sun Jan 23 12:30:15 2011 +0100
@@ -101,15 +101,6 @@
 def has_fifo():
     return hasattr(os, "mkfifo")
 
-def has_hotshot():
-    try:
-        # hotshot.stats tests hotshot and many problematic dependencies
-        # like profile.
-        import hotshot.stats
-        return True
-    except ImportError:
-        return False
-
 def has_lsprof():
     try:
         import _lsprof
@@ -198,7 +189,6 @@
     "fifo": (has_fifo, "named pipes"),
     "git": (has_git, "git command line client"),
     "gpg": (has_gpg, "gpg client"),
-    "hotshot": (has_hotshot, "python hotshot module"),
     "icasefs": (has_icasefs, "case insensitive file system"),
     "inotify": (has_inotify, "inotify extension support"),
     "lsprof": (has_lsprof, "python lsprof module"),