MCPcopy Index your code
hub / github.com/fabioz/PyDev.Debugger / test_get_ppid

Function test_get_ppid

tests_python/test_utilities.py:389–396  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

387
388@pytest.mark.skipif(not IS_WINDOWS or IS_JYTHON, reason="Windows-only test.")
389def 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
399def _check_gevent(expect_msg):

Callers

nothing calls this directly

Calls 2

_get_windows_ppidMethod · 0.95
PyDevdAPIClass · 0.90

Tested by

no test coverage detected