From 7e64bfa075fd9cc58e79bf949a605d4e6eddbef8 Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Thu, 5 Dec 2019 17:44:47 +0100 Subject: [PATCH] Avoid more Python 2 --- 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 df1b59f4..2161bd77 100644 --- a/test/test_api/test_interpreter.py +++ b/test/test_api/test_interpreter.py @@ -466,6 +466,7 @@ def test__wrapped__(): assert c.line == syslogs_to_df.__wrapped__.__code__.co_firstlineno + 1 +@pytest.mark.skipif(sys.version_info[0] == 2, reason="Ignore Python 2, because EOL") @pytest.mark.parametrize('module_name', ['sys', 'time', 'unittest.mock']) def test_core_module_completes(module_name): module = import_module(module_name)