summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2020-06-05 11:22:35 +0200
committerMatěj Cepl <mcepl@cepl.eu>2020-06-05 11:22:35 +0200
commit4b1686df78729388a6d687fec3db1d96f22c6f7b (patch)
tree55b9de7f17e32643d1995a8749dbeb39bb331ea9 /python
parent00cae3a57f5bbe56b0763e2fbdd6df13eb924a3e (diff)
downloadsubunit-git-4b1686df78729388a6d687fec3db1d96f22c6f7b.tar.gz
Unittest from testtools doesn't work, use the one from stdlib.
Diffstat (limited to 'python')
-rw-r--r--python/subunit/tests/test_test_protocol.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/subunit/tests/test_test_protocol.py b/python/subunit/tests/test_test_protocol.py
index c5f5c1d..86aa4a6 100644
--- a/python/subunit/tests/test_test_protocol.py
+++ b/python/subunit/tests/test_test_protocol.py
@@ -17,11 +17,10 @@
import datetime
import io
import os
-import sys
import tempfile
+import unittest
from testtools import PlaceHolder, skipIf, TestCase, TestResult
-from testtools.testcase import six, unittest
from testtools.compat import _b, _u, BytesIO
from testtools.content import Content, TracebackContent, text_content
from testtools.content_type import ContentType
@@ -38,6 +37,7 @@ except ImportError:
ExtendedTestResult,
)
from testtools.matchers import Contains
+from testtools.testcase import six
import subunit
from subunit.tests import (
@@ -48,7 +48,7 @@ from subunit.tests import (
import subunit.iso8601 as iso8601
-tb_prelude = "Traceback (most recent call last):\n"
+tb_prelude = "Traceback (most recent call last):\n"
def details_to_str(details):