Did not Jesus say “Thou shalt not tempt the Lord thy God?”
Yep. And even a careful review of the disputed scripture still doesn’t demand testing fate with snakes any more than it requires poisoning oneself.
In its best light it would relate to Paul’s experience after shipwreck on Malta(?) when he was bitten by a snake. It was accidental from a pile of wood, iirc. He wasn’t tempting that snake to bite him.