Skip to content

Commit 26fd12b

Browse files
Joe Jevnikllllllllll
authored andcommitted
TST: fix parameter_space error handling
Fix error message when the function has parameters that are not provided by parameter_space. I saw this when I removed a parameter from the decorator but forgot to update the function signature.
1 parent 2b7ecfe commit 26fd12b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zipline/testing/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1194,7 +1194,7 @@ def decorator(f):
11941194
if unspecified:
11951195
raise AssertionError(
11961196
"Function arguments %s were not "
1197-
"supplied to parameter_space()." % extra
1197+
"supplied to parameter_space()." % unspecified
11981198
)
11991199

12001200
def make_param_sets():

0 commit comments

Comments
 (0)