tests/hghave.py
changeset 39402 ecbab8be7470
parent 39351 4cfd1eebe6aa
child 39648 e37a0fcd82c0
--- a/tests/hghave.py	Sun Sep 02 16:23:34 2018 +0900
+++ b/tests/hghave.py	Sun Sep 02 16:26:33 2018 +0900
@@ -633,16 +633,6 @@
 def has_python3exe():
     return matchoutput('python3 -V', br'^Python 3.(5|6|7|8|9)')
 
-@check("py3pygments", "Pygments available on Python 3.x")
-def has_py3pygments():
-    if has_py3k():
-        return has_pygments()
-    elif has_python3exe():
-        # just check exit status (ignoring output)
-        py3 = os.environ['PYTHON3']
-        return matchoutput('%s -c "import pygments"' % py3, br'')
-    return False
-
 @check("pure", "running with pure Python code")
 def has_pure():
     return any([