Added support for recent CPython and PyPy versions; Droped Python v2.7 Support (#680)

This commit is contained in:
Andreas Motl
2022-10-08 02:28:36 +02:00
committed by GitHub
parent f7244cce3d
commit 00afe4e5b6
164 changed files with 746 additions and 2787 deletions

View File

@ -307,8 +307,7 @@ def test_notify_overflow_split():
# Test title max length
title_maxlen = title_len
# Enforce a body length
# Wrap in int() so Python v3 doesn't convert the response into a float
# Enforce a body length. Make sure it's an int.
body_maxlen = int(body_len / 4)
def __init__(self, *args, **kwargs):
@ -345,8 +344,7 @@ def test_notify_overflow_split():
# Enforce no title
title_maxlen = 0
# Enforce a body length based on the title
# Wrap in int() so Python v3 doesn't convert the response into a float
# Enforce a body length based on the title. Make sure it's an int.
body_maxlen = int(title_len / 4)
def __init__(self, *args, **kwargs):