MCPcopy Index your code
hub / github.com/ipython/ipython / test_getoutput_quoted2

Method test_getoutput_quoted2

tests/test_process.py:217–221  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

215 # Invalid quoting on windows
216 @dec.skip_win32
217 def test_getoutput_quoted2(self):
218 out = getoutput("%s -c 'print (1)'" % python)
219 self.assertEqual(out.strip(), "1")
220 out = getoutput("%s -c 'print (\"1\")'" % python)
221 self.assertEqual(out.strip(), "1")
222
223 def test_getoutput_error(self):
224 out, err = getoutputerror(f'{python} "{self.fname}"')

Callers

nothing calls this directly

Calls 1

getoutputFunction · 0.90

Tested by

no test coverage detected