(self)
| 2108 | @unittest.skipIf(sys.platform == 'darwin', |
| 2109 | 'undecodable paths are not supported on macOS') |
| 2110 | def test_remote_exec_undecodable(self): |
| 2111 | script = 'print("Remote script executed successfully!")' |
| 2112 | script_path = os_helper.TESTFN_UNDECODABLE + b'_undecodable_remote.py' |
| 2113 | for script_path in [script_path, os.fsdecode(script_path)]: |
| 2114 | returncode, stdout, stderr = self._run_remote_exec_test(script, |
| 2115 | script_path=script_path) |
| 2116 | self.assertIn(b"Remote script executed successfully!", stdout) |
| 2117 | self.assertEqual(stderr, b"") |
| 2118 | |
| 2119 | def test_remote_exec_with_self_process(self): |
| 2120 | """Test remote exec with the target process being the same as the test process""" |
nothing calls this directly
no test coverage detected