def test_capturing_reset_simple(self):
cap = self.getcapture()
print "hello world"
print >>sys.stderr, "hello error"
-> out, err = cap.reset()
assert out == "hello world\n"
assert err == "hello error\n"