From dd2c0fca028bb1b077a077bd21a4bf4487dc52c3 Mon Sep 17 00:00:00 2001 From: Sean McGinnis Date: Sun, 12 Jan 2020 02:18:24 -0600 Subject: [PATCH] Drop use of unittest2 unittest2 was needed for Python <= 2.6 and hasn't been needed for quite awhile now. See unittest2 note at: https://docs.python.org/2.7/library/unittest.html This cleans up use to just use the standard unittest package. Change-Id: I54c6ada7c4ad7147bf7f8547e249eb6998a05145 Signed-off-by: Sean McGinnis --- tests.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests.py b/tests.py index 05c8a24..082228f 100644 --- a/tests.py +++ b/tests.py @@ -15,10 +15,7 @@ # limitations under the License. -try: - import unittest2 as unittest -except ImportError: - import unittest +import unittest from ddt import data, ddt, unpack