Drop support for EOL Python 3.5

This commit is contained in:
Hugo van Kemenade
2020-10-19 10:02:36 +03:00
parent f61d4ed9d5
commit a642650e17
9 changed files with 17 additions and 51 deletions

View File

@@ -162,11 +162,6 @@ class TestRaises:
class T:
def __call__(self):
# Early versions of Python 3.5 have some bug causing the
# __call__ frame to still refer to t even after everything
# is done. This makes the test pass for them.
if sys.version_info < (3, 5, 2):
del self
raise ValueError
t = T()