MCPcopy Create free account
hub / github.com/FastLED/FastLED / test_current_process_alive

Method test_current_process_alive

ci/tests/test_file_lock_rw.py:34–36  ·  view source on GitHub ↗

Current process should be detected as alive

(self)

Source from the content-addressed store, hash-verified

32 """Test process alive detection"""
33
34 def test_current_process_alive(self) -> None:
35 """Current process should be detected as alive"""
36 self.assertTrue(is_process_alive(os.getpid()))
37
38 def test_invalid_pid_dead(self) -> None:
39 """Invalid PIDs should be detected as dead"""

Callers

nothing calls this directly

Calls 1

is_process_aliveFunction · 0.90

Tested by

no test coverage detected