From e9102326e2e51d81615b6b7577f9252e54d01855 Mon Sep 17 00:00:00 2001 From: Kale Kundert Date: Mon, 27 Nov 2023 23:53:37 -0500 Subject: [PATCH] feat: improve error message --- parametrize_from_file/parameters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parametrize_from_file/parameters.py b/parametrize_from_file/parameters.py index cb09449..c8b2fe7 100644 --- a/parametrize_from_file/parameters.py +++ b/parametrize_from_file/parameters.py @@ -631,7 +631,7 @@ def _check_test_params_keys(test_params): indent(_format_case_params(e.params), " ") ) err.blame += lambda e: ( - "the following parameters are missing:\n" + + "the following parameters are present in other test cases, but not this one:\n" + '\n'.join(e.missing) ) raise err