remove "mixed" capturing mode which is not used by pytest

--HG--
branch : capsimple1
This commit is contained in:
holger krekel
2014-01-25 19:56:27 +01:00
parent 18e12cbd67
commit 6f385fb4ea
2 changed files with 4 additions and 20 deletions

View File

@@ -780,15 +780,6 @@ class TestStdCapture:
out, err = cap.readouterr()
assert out == py.builtin._totext('\ufffd\n', 'unicode-escape')
def test_capturing_mixed(self):
cap = self.getcapture(mixed=True)
sys.stdout.write("hello ")
sys.stderr.write("world")
sys.stdout.write(".")
out, err = cap.reset()
assert out.strip() == "hello world."
assert not err
def test_reset_twice_error(self):
cap = self.getcapture()
print ("hello")