update assertion option names
This commit is contained in:
parent
59067684cd
commit
8cd68494bf
|
@ -53,7 +53,7 @@ def interpret(source, frame, should_fail=False):
|
|||
if should_fail:
|
||||
return ("(assertion failed, but when it was re-run for "
|
||||
"printing intermediate values, it did not fail. Suggestions: "
|
||||
"compute assert expression before the assert or use --no-assert)")
|
||||
"compute assert expression before the assert or use --assert=plain)")
|
||||
|
||||
def run(offending_line, frame=None):
|
||||
if frame is None:
|
||||
|
|
|
@ -482,7 +482,7 @@ def interpret(source, frame, should_fail=False):
|
|||
if should_fail:
|
||||
return ("(assertion failed, but when it was re-run for "
|
||||
"printing intermediate values, it did not fail. Suggestions: "
|
||||
"compute assert expression before the assert or use --nomagic)")
|
||||
"compute assert expression before the assert or use --assert=plain)")
|
||||
else:
|
||||
return None
|
||||
|
||||
|
|
Loading…
Reference in New Issue