test python stdout