File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -941,12 +941,13 @@ def validators(
941
941
if print_warn :
942
942
key = (cls , check_constraints )
943
943
if key not in problem ._validators_warn_cache :
944
+ constraints_msg = " for constraints cecking" if check_constraints else ""
944
945
problem ._validators_warn_cache .add (key )
945
946
if cls == validate .InputValidator and not validators :
946
- warn ("No input validators found." )
947
+ warn (f "No input validators{ constraints_msg } found." )
947
948
if cls == validate .AnswerValidator and not validators and not problem .interactive :
948
949
# for interactive problems, the .ans file should be empty
949
- warn ("No answer validators found." )
950
+ warn (f "No answer validators{ constraints_msg } found." )
950
951
951
952
build_ok = all (v .ok for v in validators )
952
953
You can’t perform that action at this time.
0 commit comments