Skip to content

Commit

Permalink
make helper function internal (#1148)
Browse files Browse the repository at this point in the history
testing_check_is_scenario_filtering_enabled should be internal.
It's only used in skip_on_scenario()
  • Loading branch information
jmlapre authored Oct 4, 2024
1 parent 1cc35cc commit 21c5130
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sst/core/testingframework/sst_unittest_support.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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)

Expand Down

0 comments on commit 21c5130

Please sign in to comment.