Skip to content

Commit

Permalink
update xfail conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
Carreau committed Feb 26, 2024
1 parent 9f4cf1f commit 8152ff1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test_interactive.py
Original file line number Diff line number Diff line change
Expand Up @@ -3854,7 +3854,7 @@ def test_debug_tab_completion_db_1(frontend):
""", frontend=frontend)


@pytest.mark.xfail(reason='not working on tab completion since https://github.com/ipython/ipython/pull/13889')
@pytest.mark.xfail(IPython.version_info >= (8, 14), reason='not working on tab completion since https://github.com/ipython/ipython/pull/13889')
def test_debug_tab_completion_module_1(frontend, tmp):
# Verify that tab completion on module names works.
writetext(tmp.dir/"thornton60097181.py", """
Expand Down Expand Up @@ -3900,7 +3900,7 @@ def test_debug_tab_completion_multiple_1(frontend, tmp):
""", PYTHONPATH=tmp.dir, frontend=frontend)


@pytest.mark.xfail(reason='not working on tab completion since https://github.com/ipython/ipython/pull/13889')
@pytest.mark.xfail(IPython.version_info >= (8, 14), reason='not working on tab completion since https://github.com/ipython/ipython/pull/13889')
def test_debug_postmortem_tab_completion_1(frontend):
# Verify that tab completion in %debug postmortem mode works.
ipython("""
Expand All @@ -3922,7 +3922,7 @@ def test_debug_postmortem_tab_completion_1(frontend):
ipdb> q
""", frontend=frontend)

@pytest.mark.xfail(reason='not working on tab completion since https://github.com/ipython/ipython/pull/13889')
@pytest.mark.xfail(IPython.version_info >= (8, 14), reason='not working on tab completion since https://github.com/ipython/ipython/pull/13889')
def test_debug_namespace_1_py3(frontend):
# Verify that autoimporting and tab completion happen in the local
# namespace.
Expand Down Expand Up @@ -3953,7 +3953,7 @@ def test_debug_namespace_1_py3(frontend):
""", frontend=frontend)


@retry
@pytest.mark.xfail(IPython.version_info >= (8, 14), reason='not working on tab completion since https://github.com/ipython/ipython/pull/13889')
def test_debug_second_1(frontend):
# Verify that a second postmortem debug of the same function behaves as
# expected.
Expand Down

0 comments on commit 8152ff1

Please sign in to comment.