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

Method test_constant_safe

tests/unit/test_a_sink_rules.py:166–167  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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 1

not_firesFunction · 0.70

Tested by

no test coverage detected