summaryrefslogtreecommitdiff
path: root/taskflow/tests/unit/test_exceptions.py
diff options
context:
space:
mode:
authorTakashi Kajinami <tkajinam@redhat.com>2022-05-17 22:56:45 +0900
committerTakashi Kajinami <tkajinam@redhat.com>2022-05-18 16:12:37 +0900
commit44f17d005ff53008144ca7c509bcb1307d66b23f (patch)
treeb03024443b92a78f3cdacfca29f4010d24c8b685 /taskflow/tests/unit/test_exceptions.py
parentb5b69e8110da44a88b2260cd24ada3439f29938e (diff)
downloadtaskflow-44f17d005ff53008144ca7c509bcb1307d66b23f.tar.gz
Remove six
This library no longer supports Python 2, thus usage of six can be removed. This also removes workaround about pickle library used in Python 2 only. Change-Id: I19d298cf0f402d65f0b142dea0bf35cf992332a9
Diffstat (limited to 'taskflow/tests/unit/test_exceptions.py')
-rw-r--r--taskflow/tests/unit/test_exceptions.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/taskflow/tests/unit/test_exceptions.py b/taskflow/tests/unit/test_exceptions.py
index c542ae8..4c20f7c 100644
--- a/taskflow/tests/unit/test_exceptions.py
+++ b/taskflow/tests/unit/test_exceptions.py
@@ -16,9 +16,6 @@
import string
-import six
-import testtools
-
from taskflow import exceptions as exc
from taskflow import test
@@ -109,7 +106,6 @@ class TestExceptions(test.TestCase):
ex = exc.TaskFlowException("Broken")
self.assertRaises(ValueError, ex.pformat, indent=-100)
- @testtools.skipIf(not six.PY3, 'py3.x is not available')
def test_raise_with_cause(self):
capture = None
try: