Test remote exec is disabled with -Xdisable-remote-debug
(self)
| 2183 | self._run_remote_exec_test("print('should not run')", env=env) |
| 2184 | |
| 2185 | def test_remote_exec_disabled_by_xoption(self): |
| 2186 | """Test remote exec is disabled with -Xdisable-remote-debug""" |
| 2187 | with self.assertRaisesRegex(RuntimeError, "Remote debugging is not enabled in the remote process"): |
| 2188 | self._run_remote_exec_test("print('should not run')", python_args=['-Xdisable-remote-debug']) |
| 2189 | |
| 2190 | def test_remote_exec_invalid_pid(self): |
| 2191 | """Test remote exec with invalid process ID""" |
nothing calls this directly
no test coverage detected