trigger error with assert plain

This commit is contained in:
Anthony Scopatz 2019-06-18 16:27:40 -04:00
parent f08a05ba3a
commit 42762d4989

View file

@ -16,13 +16,13 @@ def replace_args(num):
$RAISE_SUBPROC_ERROR = True $RAISE_SUBPROC_ERROR = True
run_separately = [ run_separately = [
'tests/test_main.py', #'tests/test_main.py',
'tests/test_ptk_highlight.py', 'tests/test_ptk_highlight.py',
] ]
ignores = [] ignores = []
for fname in run_separately: for fname in run_separately:
ignores.append('--ignore') ignores.append('--ignore')
ignores.append(fname) ignores.append(fname)
![pytest @(replace_args(0)) @(ignores)] ![pytest --assert=plain @(replace_args(0)) @(ignores)]
for index, fname in enumerate(run_separately): for index, fname in enumerate(run_separately):
![pytest @(replace_args(index+1)) @(fname)] ![pytest --assert=plain @(replace_args(index+1)) @(fname)]