tests/hghave.py
changeset 28126 562a073a2a1b
parent 27702 39122c2442cd
child 28383 e13e0e189990
--- a/tests/hghave.py	Tue Dec 15 23:50:48 2015 +0900
+++ b/tests/hghave.py	Sat Jan 09 13:20:15 2016 +0900
@@ -335,21 +335,6 @@
     except ImportError:
         return False
 
-@check("json", "some json module available")
-def has_json():
-    try:
-        import json
-        json.dumps
-        return True
-    except ImportError:
-        try:
-            import simplejson as json
-            json.dumps
-            return True
-        except ImportError:
-            pass
-    return False
-
 @check("outer-repo", "outer repo")
 def has_outer_repo():
     # failing for other reasons than 'no repo' imply that there is a repo