From 00006695262613e87bf4760d4bad1755d3e79706 Mon Sep 17 00:00:00 2001 From: "Justin M. LaPre" Date: Wed, 2 Oct 2024 20:50:04 +0000 Subject: [PATCH] make helper function internal testing_check_is_scenario_filtering_enabled should be internal. It's only used in skip_on_scenario() --- src/sst/core/testingframework/sst_unittest_support.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sst/core/testingframework/sst_unittest_support.py b/src/sst/core/testingframework/sst_unittest_support.py index a7000ca2f..bd9370a0e 100644 --- a/src/sst/core/testingframework/sst_unittest_support.py +++ b/src/sst/core/testingframework/sst_unittest_support.py @@ -361,7 +361,7 @@ def host_os_get_num_cores_on_system(): # SST Skipping Support ################################################################################ -def testing_check_is_scenario_filtering_enabled(scenario_name): +def _testing_check_is_scenario_filtering_enabled(scenario_name): """ Determine if a scenario filter name is enabled Args: @@ -384,7 +384,7 @@ def skip_on_scenario(scenario_name, reason): """ check_param_type("scenario_name", scenario_name, str) check_param_type("reason", reason, str) - if not testing_check_is_scenario_filtering_enabled(scenario_name): + if not _testing_check_is_scenario_filtering_enabled(scenario_name): return lambda func: func return unittest.skip(reason)