mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 08:24:40 +01:00
trigger error with assert plain
This commit is contained in:
parent
f08a05ba3a
commit
42762d4989
1 changed files with 3 additions and 3 deletions
|
@ -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)]
|
||||||
|
|
Loading…
Add table
Reference in a new issue