Skip to content

Commit 2d99345

Browse files
committed
fix typo in error message
1 parent 9e11d2e commit 2d99345

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

easybuild/framework/easyconfig/easyconfig.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1819,7 +1819,7 @@ def get_cuda_cc_template_value(self, key):
18191819
error_msg += "option is set, or that the cuda_compute_capabilities easyconfig parameter is defined."
18201820
raise EasyBuildError(error_msg, key)
18211821
else:
1822-
error_msg = "%s is not a template value baed on --cuda-compute-capabilities/cuda_compute_capabilities"
1822+
error_msg = "%s is not a template value based on --cuda-compute-capabilities/cuda_compute_capabilities"
18231823
raise EasyBuildError(error_msg, key)
18241824

18251825

test/framework/easyconfig.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4498,7 +4498,7 @@ def test_get_cuda_cc_template_value(self):
44984498
self.prep()
44994499
ec = EasyConfig(self.eb_file)
45004500

4501-
error_pattern = "foobar is not a template value baed on --cuda-compute-capabilities/cuda_compute_capabilities"
4501+
error_pattern = "foobar is not a template value based on --cuda-compute-capabilities/cuda_compute_capabilities"
45024502
self.assertErrorRegex(EasyBuildError, error_pattern, ec.get_cuda_cc_template_value, 'foobar')
45034503

45044504
error_pattern = r"\(get_cuda_cc_template_value\) Template value '%s' is not defined!\n"

0 commit comments

Comments
 (0)