test_a_sentinel_handler_is_not_a_function

Tests › tests/test_isr.py

passed Passed in the packaged run.

What this test is for

Why it exists

`signal(SIGTERM, SIG_IGN)` names no function. Recorded as written it mints a thread called SIG_IGN whose entry never resolves, and a NULL entry does not deduplicate — SQLite treats NULLs as distinct in a UNIQUE constraint — so every such site adds another row.

Given

  1. entries = {site[ENTRY] for site in _sites(_REGISTRATIONS)}
→

When

  1. —
→

Then

  1. ✓ entries does not contain "SIG_IGN"

tests/test_isr.py:123 · its file's page

What it checks (1)

  1. assert "SIG_IGN" not in entries, f"SIG_IGN names no function; got {sorted(entries)}" observes _sites via entries

Where the product reaches it

No product flow reaches this code: no product entry point's flow calls any of the functions this test calls.

Call flow

test_a_sentinel_handler_is_not_a_function→_sites

What it reaches

Each row runs from this test, through the calls it makes, to the code a requirement names. If that code breaks, the test's checks are what should catch it. Reaching is not proving: a check only proves what it observes. No mutation records were given, so these rows say what the test REACHES.

test_a_sentinel_handler_is_not_a_function · 1 checks_sites_walk_spawn_sitesis_python_treeREQ-DDB-PIPE-003 · measured_sitesload_thread_patternsREQ-DDB-SCHEMA-001 · measured_sitesload_thread_patternsdeclaration_originREQ-DDB-SCHEMA-012 · inferred
Also reaches 3 requirements

Its run touches their code; that is reach, not proof.