summaryrefslogtreecommitdiff
path: root/python/subunit/tests/test_chunked.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/subunit/tests/test_chunked.py')
-rw-r--r--python/subunit/tests/test_chunked.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/python/subunit/tests/test_chunked.py b/python/subunit/tests/test_chunked.py
index 46cf150..21f4814 100644
--- a/python/subunit/tests/test_chunked.py
+++ b/python/subunit/tests/test_chunked.py
@@ -7,7 +7,7 @@
# license at the users choice. A copy of both licenses are available in the
# project source as Apache-2.0 and BSD. You may not use this file except in
# compliance with one of these two licences.
-#
+#
# Unless required by applicable law or agreed to in writing, software
# distributed under these licenses is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
@@ -15,13 +15,10 @@
# limitations under that license.
#
+from io import BytesIO
import unittest
from testtools.compat import _b
-try:
- from testtools.compat import BytesIO
-except ImportError:
- from io import BytesIO
import subunit.chunked