- raises block: func must be Attribute pytest.raises or a bare Name
'raises'; matcher must be a Name/Attribute chain whose final segment
is exactly IntegrityError (fake.IntegrityError/NotIntegrityError fail)
- insert target matching tokenizes the leading identifier, strips
quotes/brackets, and takes the last dot-segment, so INSERT OR IGNORE
INTO "main"."children" and attached-qualified spellings all count
as table inserts requiring the raises block