diff options
Diffstat (limited to 'python/subunit/tests/test_subunit_stats.py')
-rw-r--r-- | python/subunit/tests/test_subunit_stats.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/python/subunit/tests/test_subunit_stats.py b/python/subunit/tests/test_subunit_stats.py index 9faf24d..46be5c2 100644 --- a/python/subunit/tests/test_subunit_stats.py +++ b/python/subunit/tests/test_subunit_stats.py @@ -6,7 +6,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 @@ -16,13 +16,11 @@ """Tests for subunit.TestResultStats.""" +from io import BytesIO +from io import StringIO import unittest from testtools.compat import _b -try: - from testtools.compat import BytesIO, StringIO -except ImportError: - from io import BytesIO, StringIO import subunit |