hghave: remove unused hotshot check
authorPatrick Mezard <pmezard@gmail.com>
Sun, 23 Jan 2011 12:30:15 +0100
changeset 13289 58b26b360a57
parent 13288 9c3bfba3f48d
child 13290 82133e91ce7d
hghave: remove unused hotshot check
tests/hghave
--- 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"),