From 27860dd068dede7a20474090adb474609bae54f7 Mon Sep 17 00:00:00 2001 From: Paul Vinciguerra Date: Thu, 3 Dec 2020 00:46:03 -0500 Subject: [PATCH] tests: remove aenum library the aenum library was used to provide intflag functionality for python versions earlier than 3.6 Type: test Change-Id: I914d390ee5364f337006c1c59abafe4b9a3c1bde Signed-off-by: Paul Vinciguerra --- test/remote_test.py | 5 +---- test/requirements.txt | 1 - 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/test/remote_test.py b/test/remote_test.py index 8b3def2b8c6..ea271d58a89 100644 --- a/test/remote_test.py +++ b/test/remote_test.py @@ -10,10 +10,7 @@ import six from six import moves import sys -if sys.version_info < (3,): - from aenum import IntEnum, IntFlag -else: - from enum import IntEnum, IntFlag +from enum import IntEnum, IntFlag class SerializableClassCopy(object): diff --git a/test/requirements.txt b/test/requirements.txt index e934bc042a2..017c7a92518 100644 --- a/test/requirements.txt +++ b/test/requirements.txt @@ -1,6 +1,5 @@ pip-tools==5.1.2 # BSD Keep this in sync with Makefile's PIP_TOOLS_VERSION -aenum>= 2.1.2; python_version < '3.6' # BSD cffi # MIT cryptography!=2.0 # BSD/Apache-2.0 deprecation>=2.0.6 # Apache-2.0 -- 2.16.6