diff options
author | Jacob Walls <jacobtylerwalls@gmail.com> | 2023-05-15 08:30:49 -0400 |
---|---|---|
committer | Jacob Walls <jacobtylerwalls@gmail.com> | 2023-05-15 10:09:17 -0400 |
commit | 1f9ba55a1bbe03763095a66bc59450d680338ab1 (patch) | |
tree | 65d612dc60215c642bc3b3ac1fc58bce38511f0b | |
parent | 63096014d2786a972f5f2468724496e046c487fe (diff) | |
download | astroid-git-1f9ba55a1bbe03763095a66bc59450d680338ab1.tar.gz |
Skip recursion test on PyPy
Reapplied from c1e4c95.
-rw-r--r-- | tests/test_inference.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/test_inference.py b/tests/test_inference.py index 3de2c17b..29bf56ac 100644 --- a/tests/test_inference.py +++ b/tests/test_inference.py @@ -31,7 +31,7 @@ from astroid import decorators as decoratorsmod 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, @@ -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. |