tests/hghave.py
branchstable
changeset 49366 288de6f5d724
parent 49281 223d55086d7c
child 49620 8cd39c20445e
--- a/tests/hghave.py	Thu Jun 16 15:15:03 2022 +0200
+++ b/tests/hghave.py	Thu Jun 16 15:28:54 2022 +0200
@@ -1,5 +1,3 @@
-from __future__ import absolute_import, print_function
-
 import distutils.version
 import os
 import re
@@ -200,7 +198,7 @@
 
 
 @check("pyoxidizer", "running with pyoxidizer build as 'hg'")
-def has_rhg():
+def has_pyoxidizer():
     return 'PYOXIDIZED_INSTALLED_AS_HG' in os.environ
 
 
@@ -410,7 +408,7 @@
 
 
 @check("pygit2", "pygit2 Python library")
-def has_git():
+def has_pygit2():
     try:
         import pygit2
 
@@ -752,7 +750,7 @@
 
 
 @check("network-io", "whether tests are allowed to access 3rd party services")
-def has_test_repo():
+def has_network_io():
     t = os.environ.get("HGTESTS_ALLOW_NETIO")
     return t == "1"