diff options
| author | Robert Collins <robertc@robertcollins.net> | 2013-02-26 23:26:46 +1300 |
|---|---|---|
| committer | Robert Collins <robertc@robertcollins.net> | 2013-02-26 23:26:46 +1300 |
| commit | b6cb3c4d694d4621e83b8bdaf18f54cff87f8074 (patch) | |
| tree | d8b231dc8db9f6d6668214d88f8f92c6779e3544 /python/subunit/tests | |
| parent | 83eb75d1e9bc41e0f8057d20ac0488a4a3b9d690 (diff) | |
| download | subunit-b6cb3c4d694d4621e83b8bdaf18f54cff87f8074.tar.gz | |
Batch up input in ByteStreamToStreamResult.
Diffstat (limited to 'python/subunit/tests')
| -rw-r--r-- | python/subunit/tests/test_subunit_filter.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/python/subunit/tests/test_subunit_filter.py b/python/subunit/tests/test_subunit_filter.py index 1cde16b..c28ca33 100644 --- a/python/subunit/tests/test_subunit_filter.py +++ b/python/subunit/tests/test_subunit_filter.py @@ -342,8 +342,7 @@ class TestFilterCommand(TestCase): output = self.run_command([], b'hi thar') byte_stream = BytesIO() stream = StreamResultToBytes(byte_stream) - for pos, _ in enumerate(b'hi thar'): - stream.status(file_name="stdout", file_bytes=b'hi thar'[pos:pos+1]) + stream.status(file_name="stdout", file_bytes=b'hi thar') self.assertEqual(byte_stream.getvalue(), output) |
