Remove support for Python 2.x. (#548)

Signed-off-by: dblock <[email protected]>
This commit is contained in:
Daniel (dB.) Doubrovkine
2023-10-24 07:57:21 -07:00
committed by GitHub
parent a1f942b6f9
commit 627e717534
16 changed files with 56 additions and 179 deletions
@@ -33,7 +33,6 @@ clients.
import io
import os
import re
import sys
import warnings
import zipfile
@@ -135,8 +134,7 @@ SKIP_TESTS = {
OPENSEARCH_VERSION = None
RUN_ASYNC_REST_API_TESTS = (
sys.version_info >= (3, 6)
and os.environ.get("PYTHON_CONNECTION_CLASS") == "RequestsHttpConnection"
os.environ.get("PYTHON_CONNECTION_CLASS") == "RequestsHttpConnection"
)
FALSEY_VALUES = ("", None, False, 0, 0.0)