diff options
| author | Robert Collins <robertc@robertcollins.net> | 2012-05-08 07:36:05 +1200 |
|---|---|---|
| committer | Robert Collins <robertc@robertcollins.net> | 2012-05-08 07:36:05 +1200 |
| commit | 4ea90f04f1b71d01eed6721c36f99a781d24d8cf (patch) | |
| tree | 6a52b2a29c9c5bd5cddc58f55d50418bf53283f8 /python/subunit/tests/test_run.py | |
| parent | 262438a3ca4d9523965ba7d3e432eab6000811ce (diff) | |
| download | subunit-git-4ea90f04f1b71d01eed6721c36f99a781d24d8cf.tar.gz | |
* Python3 support regressed in trunk.
(Arfrever Frehtes Taifersar Arahesis, #987514)
Diffstat (limited to 'python/subunit/tests/test_run.py')
| -rw-r--r-- | python/subunit/tests/test_run.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/subunit/tests/test_run.py b/python/subunit/tests/test_run.py index 5a96bcf..10519ed 100644 --- a/python/subunit/tests/test_run.py +++ b/python/subunit/tests/test_run.py @@ -14,7 +14,7 @@ # limitations under that license. # -from cStringIO import StringIO +from testtools.compat import BytesIO import unittest from testtools import PlaceHolder @@ -42,7 +42,7 @@ class TimeCollectingTestResult(unittest.TestResult): class TestSubunitTestRunner(unittest.TestCase): def test_includes_timing_output(self): - io = StringIO() + io = BytesIO() runner = SubunitTestRunner(stream=io) test = PlaceHolder('name') runner.run(test) |
