Skip to content

Commit c752c33

Browse files
Add xfail
1 parent db42832 commit c752c33

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/brain/test_regex.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ def test_regex_flags(self) -> None:
2424
assert name in re_ast
2525
assert next(re_ast[name].infer()).value == getattr(regex, name)
2626

27+
@pytest.mark.xfail(
28+
reason="Started failing on main, but no one reproduced locally yet"
29+
)
2730
@test_utils.require_version(minver="3.9")
2831
def test_regex_pattern_and_match_subscriptable(self):
2932
"""Test regex.Pattern and regex.Match are subscriptable in PY39+."""

0 commit comments

Comments
 (0)