From 6b9add42644defc4671f265c041c3569e37e259a Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Fri, 13 Dec 2019 16:58:56 +0100 Subject: [PATCH] Python 2 compatibility --- test/test_api/test_interpreter.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test/test_api/test_interpreter.py b/test/test_api/test_interpreter.py index c4a98a99..41058f42 100644 --- a/test/test_api/test_interpreter.py +++ b/test/test_api/test_interpreter.py @@ -213,6 +213,7 @@ def test_property_warnings(stacklevel, allow_unsafe_getattr): _assert_interpreter_complete('foo.prop.uppe', locals(), expected) +@pytest.mark.skipif(sys.version_info[0] == 2, reason="Ignore Python 2, because EOL") @pytest.mark.parametrize('class_is_findable', [False, True]) def test__getattr__completions(allow_unsafe_getattr, class_is_findable): class CompleteGetattr(object):