def test_getoutput(self):
        out, err = getoutputerror('python "%s"' % self.fname)
        self.assertEquals(out, 'on stdout')
        self.assertEquals(err, 'on stderr')
dataset/ETHPy150Open ipython/ipython-py3k/IPython/utils/tests/test_process.py/SubProcessTestCase.test_getoutput/original