mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 08:24:40 +01:00
test(parser): xfail failed brackets test on windows
This commit is contained in:
parent
8a65d4f449
commit
0bbaf74309
1 changed files with 9 additions and 1 deletions
|
@ -10,6 +10,7 @@ from xonsh.parser import Parser
|
||||||
from xonsh.parsers.ast import AST, Call, Pass, With, is_const_str
|
from xonsh.parsers.ast import AST, Call, Pass, With, is_const_str
|
||||||
from xonsh.parsers.fstring_adaptor import FStringAdaptor
|
from xonsh.parsers.fstring_adaptor import FStringAdaptor
|
||||||
from xonsh.pytest.tools import (
|
from xonsh.pytest.tools import (
|
||||||
|
ON_WINDOWS,
|
||||||
VER_MAJOR_MINOR,
|
VER_MAJOR_MINOR,
|
||||||
nodes_equal,
|
nodes_equal,
|
||||||
skip_if_pre_3_8,
|
skip_if_pre_3_8,
|
||||||
|
@ -2652,7 +2653,14 @@ def test_echo_slash_question(check_xonsh_ast):
|
||||||
@pytest.mark.parametrize(
|
@pytest.mark.parametrize(
|
||||||
"case",
|
"case",
|
||||||
[
|
[
|
||||||
"[]",
|
pytest.param(
|
||||||
|
"[]",
|
||||||
|
marks=pytest.mark.xfail(
|
||||||
|
ON_WINDOWS,
|
||||||
|
reason="non-zero exit code being raised by brackets",
|
||||||
|
strict=True,
|
||||||
|
), # TODO: fix this on a windows machine
|
||||||
|
),
|
||||||
"[[]]",
|
"[[]]",
|
||||||
"[a]",
|
"[a]",
|
||||||
"[a][b]",
|
"[a][b]",
|
||||||
|
|
Loading…
Add table
Reference in a new issue