File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -175,7 +175,7 @@ def and_v_(x):
175175
176176class DidNotFail (ValidationFailed ):
177177 """ Raised by the not_ operator when the inner validation function did not fail."""
178- help_msg = '{wrapped_func } validated value {wrong_value} with success, therefore the not() is a failure'
178+ help_msg = '{validation_func } validated value {wrong_value} with success, therefore the not() is a failure'
179179
180180
181181def not_ (validation_func , # type: ValidationCallable
@@ -217,7 +217,7 @@ def not_v_(x):
217217 return True # caught exception in 'catch_all' mode: return True
218218
219219 # if we're here that's a failure
220- raise DidNotFail (wrapped_func = validation_func , wrong_value = x , validation_outcome = res )
220+ raise DidNotFail (validation_func = validation_func , wrong_value = x , validation_outcome = res )
221221
222222 not_v_ .__name__ = 'not({})' .format (get_callable_name (validation_func ))
223223 return not_v_
You can’t perform that action at this time.
0 commit comments