summaryrefslogtreecommitdiff
path: root/tempest/test_discover
diff options
context:
space:
mode:
authorJon Schlueter <jschluet@redhat.com>2022-01-24 17:38:48 -0500
committerJon Schlueter <jschluet@redhat.com>2022-01-24 17:49:25 -0500
commit1ff7748623c2d02122bec36542f8bc310d296836 (patch)
tree9fe40b7a94d28f7a502d66c7b66c07dc6d60404f /tempest/test_discover
parenteb860bca57b27da4f1b33de06763abd5fb784afb (diff)
downloadtempest-1ff7748623c2d02122bec36542f8bc310d296836.tar.gz
Remove usage of unittest2
from comments when it was last touched it looks like workarounds for unittest2 might be able to be dropped. related: https://github.com/mtreinish/stestr/pull/265 simplify the workaround logic around unittest2 TestCase logic Change-Id: Ibac9d0c2fa2f30605dd44ee58b84946464ea6449
Diffstat (limited to 'tempest/test_discover')
-rw-r--r--tempest/test_discover/test_discover.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/tempest/test_discover/test_discover.py b/tempest/test_discover/test_discover.py
index 5816ab1d2..a19f20b69 100644
--- a/tempest/test_discover/test_discover.py
+++ b/tempest/test_discover/test_discover.py
@@ -13,15 +13,10 @@
# under the License.
import os
-import sys
+import unittest
from tempest.test_discover import plugins
-if sys.version_info >= (2, 7):
- import unittest
-else:
- import unittest2 as unittest
-
def load_tests(loader, tests, pattern):
ext_plugins = plugins.TempestTestPluginManager()