Skip to content

Commit 54f611d

Browse files
committed
tests: mark test_integration tests as xfail (flaky)
1 parent addfa28 commit 54f611d

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

testing/test_integration.py

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
HAS_GNU_READLINE = "GNU readline" in readline_doc
1010

1111

12-
@pytest.mark.xfail(reason="flaky")
12+
@pytest.mark.xfail(sys.version_info >= (3, 13), reason="flaky")
1313
def test_integration(testdir, readline_param):
1414
tmpdir = testdir.tmpdir
1515

@@ -90,6 +90,12 @@ def test_integration(testdir, readline_param):
9090
assert rest == expected
9191

9292

93+
@pytest.mark.xfail(
94+
sys.version_info >= (3, 12),
95+
reason="ipython integration with 3.13 is preliminary"
96+
if sys.version_info >= (3, 13)
97+
else "flaky",
98+
)
9399
def test_ipython(testdir):
94100
"""Test integration when used with IPython.
95101
@@ -99,7 +105,8 @@ def test_ipython(testdir):
99105
skip_with_missing_pth_file()
100106

101107
child = testdir.spawn(
102-
f"{sys.executable} -m IPython --colors=nocolor --simple-prompt"
108+
f"{sys.executable} -m IPython --colors=nocolor --simple-prompt",
109+
expect_timeout=1,
103110
)
104111
child.sendline("%debug raise ValueError('my_value_error')")
105112
child.sendline("up")

0 commit comments

Comments
 (0)