It depends. Some places do not ask questions, it all depends on your inspector. But if they do a sniffer on your car, if you patch it like the above stated, you'll still fail your HC (hydrocarbon's) count. go and ask the inspection station what they think and then take it to a different shop depending on what they say.
Illinois does, as a matter of fact, conduct a visual inspection when a vehicle comes in for an emissions inspection. However, such visual inspection is, for the most part, reserved for vehicles that have failed the emissions test more than once.