def test_stdin_nulled_by_default(self): |
print "XXX this test may well hang instead of crashing" |
print "XXX which indicates an error in the underlying capturing" |
print "XXX mechanisms" |
cap = self.getcapture() |
py.test.raises(IOError, "sys.stdin.read()") |
-> out, err = cap.reset() |