Skip to content

Commit

Permalink
Skip recursion test on PyPy
Browse files Browse the repository at this point in the history
Reapplied from c1e4c95.
  • Loading branch information
jacobtylerwalls committed May 15, 2023
1 parent 6309601 commit 1f9ba55
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/test_inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
from astroid.arguments import CallSite
from astroid.bases import BoundMethod, Instance, UnboundMethod, UnionType
from astroid.builder import AstroidBuilder, _extract_single_node, extract_node, parse
from astroid.const import PY39_PLUS, PY310_PLUS
from astroid.const import IS_PYPY, PY39_PLUS, PY310_PLUS
from astroid.context import CallContext, InferenceContext
from astroid.exceptions import (
AstroidTypeError,
Expand Down Expand Up @@ -6976,6 +6976,9 @@ def test_imported_module_var_inferable3() -> None:
assert i_w_val.as_string() == "['w', 'v']"


@pytest.mark.skipif(
IS_PYPY, reason="Test run with coverage on PyPy sometimes raises a RecursionError"
)
def test_recursion_on_inference_tip() -> None:
"""Regression test for recursion in inference tip.
Expand Down

0 comments on commit 1f9ba55

Please sign in to comment.