MCPcopy Create free account
hub / github.com/ParzivalHack/PySpector / TestSet1047

Class TestSet1047

tests/unit/test_a_sink_rules.py:162–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160
161# --- SET1047 ---
162class TestSet1047:
163 def test_tainted_silent_disabled(self):
164 # SET1047 disabled: set() deduplication causes FPs from deep inter-proc taint.
165 assert not_fires("items=request.GET.getlist('i'); set(items)", "SET1047")
166 def test_constant_safe(self):
167 assert not_fires("set([1,2,3])", "SET1047")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected