From d7e6aec5fad440e891d2deb6b88459fd098e48ad Mon Sep 17 00:00:00 2001 From: Marcel Bargull Date: Fri, 17 Nov 2023 13:17:14 +0100 Subject: [PATCH] Add comment about _get_or_merge_config's purpose Signed-off-by: Marcel Bargull --- conda_build/config.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/conda_build/config.py b/conda_build/config.py index 2f29d63201..09f3cbcb67 100644 --- a/conda_build/config.py +++ b/conda_build/config.py @@ -914,6 +914,8 @@ def __exit__(self, e_type, e_value, traceback): def _get_or_merge_config(config, variant=None, **kwargs): + # This function should only ever be called via get_or_merge_config. + # It only exists for us to monkeypatch a default config when running tests. if not config: config = Config(variant=variant) else: