From 2fb072532a2a4415a8d8b0d9f39f7ff359820ac2 Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Sat, 16 May 2020 01:25:15 +0200 Subject: [PATCH] Skip another non-important Python 2 test that fails on Windows --- test/test_api/test_analysis.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/test/test_api/test_analysis.py b/test/test_api/test_analysis.py index f0b6a449..61685f81 100644 --- a/test/test_api/test_analysis.py +++ b/test/test_api/test_analysis.py @@ -1,8 +1,9 @@ -""" -Test of keywords and ``jedi.keywords`` -""" +import sys + +import pytest +@pytest.mark.skipif(sys.version_info[0] == 2, reason="Ignore Python 2, because EOL") def test_issue436(Script): code = "bar = 0\nbar += 'foo' + 4" errors = set(repr(e) for e in Script(code)._analysis())