From 9decca0023ccdb48a210c3d3635d2b7082bd3660 Mon Sep 17 00:00:00 2001 From: Hugo Date: Sat, 11 Jul 2020 16:12:42 +0300 Subject: [PATCH] Drop support for EOL Python 2 --- testing/acceptance_test.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/testing/acceptance_test.py b/testing/acceptance_test.py index 168bb97..cc9b3ee 100644 --- a/testing/acceptance_test.py +++ b/testing/acceptance_test.py @@ -1,6 +1,5 @@ import os import re -import sys import textwrap import py @@ -883,9 +882,6 @@ class TestWarnings: """Check that warnings with unserializable _WARNING_DETAILS are handled correctly (#379). """ - if sys.version_info[0] < 3: - # The issue is only present in Python 3 warnings - return testdir.makepyfile( """ import warnings, pytest