changeset 49952:5df6d4f06a8f stable

hghave: make different has_pyoxidizer functions have different names There are 3 of them, and them all having the same name triggered code checkers.
author Anton Shestakov <av6@dwimlabs.net>
date Wed, 25 Jan 2023 19:27:50 +0400
parents 42baf12efd21
children 194e654815e6
files tests/hghave.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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