()
| 387 | |
| 388 | @pytest.mark.skipif(not IS_WINDOWS or IS_JYTHON, reason="Windows-only test.") |
| 389 | def test_get_ppid(): |
| 390 | from _pydevd_bundle.pydevd_api import PyDevdAPI |
| 391 | |
| 392 | api = PyDevdAPI() |
| 393 | # On python 3 we can check that our internal api which is used for Python 2 gives the |
| 394 | # same result as os.getppid. |
| 395 | ppid = os.getppid() |
| 396 | assert api._get_windows_ppid() == ppid |
| 397 | |
| 398 | |
| 399 | def _check_gevent(expect_msg): |
nothing calls this directly
no test coverage detected