MCPcopy Index your code
hub / github.com/python/cpython / test_remote_exec_bytes

Method test_remote_exec_bytes

Lib/test/test_sys.py:2099–2105  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2097 self.assertEqual(stderr, b"")
2098
2099 def test_remote_exec_bytes(self):
2100 script = 'print("Remote script executed successfully!")'
2101 script_path = os.fsencode(os_helper.TESTFN) + b'_bytes_remote.py'
2102 returncode, stdout, stderr = self._run_remote_exec_test(script,
2103 script_path=script_path)
2104 self.assertIn(b"Remote script executed successfully!", stdout)
2105 self.assertEqual(stderr, b"")
2106
2107 @unittest.skipUnless(os_helper.TESTFN_UNDECODABLE, 'requires undecodable path')
2108 @unittest.skipIf(sys.platform == 'darwin',

Callers

nothing calls this directly

Calls 3

_run_remote_exec_testMethod · 0.95
assertInMethod · 0.80
assertEqualMethod · 0.45

Tested by

no test coverage detected