def test_capturing_mixed(self):
cap = self.getcapture(mixed=True)
print "hello",
print >>sys.stderr, "world",
print >>sys.stdout, ".",
-> out, err = cap.reset()
assert out.strip() == "hello world ."
assert not err