diff --git a/utils/python/CIME/SystemTests/system_tests_compare_two.py b/utils/python/CIME/SystemTests/system_tests_compare_two.py index a6994dab1f77..08e878d63947 100644 --- a/utils/python/CIME/SystemTests/system_tests_compare_two.py +++ b/utils/python/CIME/SystemTests/system_tests_compare_two.py @@ -46,7 +46,7 @@ def __init__(self, run_one_suffix = 'base', run_two_suffix = 'test', run_one_description = '', - run_two_description = '') + run_two_description = ''): """ Initialize a SystemTestsCompareTwo object. Individual test cases that inherit from SystemTestsCompareTwo MUST call this __init__ method. @@ -196,7 +196,7 @@ def _needs_two_builds(self, sharedlib_only, model_only): elif model_only: two_builds_needed = self._two_builds_for_model else: - throw ValueError('Invalid for both sharedlib_only and model_only to be set') + raise ValueError('Invalid for both sharedlib_only and model_only to be set') return two_builds_needed