Fixed #27430 -- Added -b/--buffer option to DiscoverRunner.

This commit is contained in:
Baptiste Mispelon 2019-11-30 22:10:16 +01:00 committed by Mariusz Felisiak
parent f464526388
commit 9e565386d3
6 changed files with 72 additions and 4 deletions

View file

@ -0,0 +1,14 @@
import sys
from unittest import TestCase
class WriteToStdoutStderrTestCase(TestCase):
def test_pass(self):
sys.stderr.write('Write to stderr.')
sys.stdout.write('Write to stdout.')
self.assertTrue(True)
def test_fail(self):
sys.stderr.write('Write to stderr.')
sys.stdout.write('Write to stdout.')
self.assertTrue(False)