From 8297c98b2fb11791e9e89d9f047aec9281266552 Mon Sep 17 00:00:00 2001 From: Michael Wayne Goodman Date: Mon, 20 Jul 2020 18:29:41 +0800 Subject: [PATCH] Skip TDL recursion test for Python 3.6 Getting an appropriate recursion limit is flaky for Python 3.6. --- tests/tdl_test.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/tdl_test.py b/tests/tdl_test.py index 9ab6204e..64b45c4e 100644 --- a/tests/tdl_test.py +++ b/tests/tdl_test.py @@ -495,6 +495,8 @@ def test_parse_cons_list(): tdlparse('a := b & [ ATTR < [] [] > ].') +@pytest.mark.skipif(sys.version_info < (3, 7), + reason='recursion test is flaky on Python 3.6') @pytest.mark.slow def test_issue_294(): # check for recursion error