hghave: make different has_pyoxidizer functions have different names stable
authorAnton Shestakov <av6@dwimlabs.net>
Wed, 25 Jan 2023 19:27:50 +0400
branchstable
changeset 49950 5df6d4f06a8f
parent 49949 42baf12efd21
child 49951 194e654815e6
hghave: make different has_pyoxidizer functions have different names There are 3 of them, and them all having the same name triggered code checkers.
tests/hghave.py
--- a/tests/hghave.py	Wed Jan 25 19:25:42 2023 +0400
+++ b/tests/hghave.py	Wed Jan 25 19:27:50 2023 +0400
@@ -206,7 +206,7 @@
     "pyoxidizer-in-memory",
     "running with pyoxidizer build as 'hg' with embedded resources",
 )
-def has_pyoxidizer():
+def has_pyoxidizer_mem():
     return 'PYOXIDIZED_IN_MEMORY_RSRC' in os.environ
 
 
@@ -214,7 +214,7 @@
     "pyoxidizer-in-filesystem",
     "running with pyoxidizer build as 'hg' with external resources",
 )
-def has_pyoxidizer():
+def has_pyoxidizer_fs():
     return 'PYOXIDIZED_FILESYSTEM_RSRC' in os.environ