Rlditmars nailed it. No surprise that many nonvenomous are excellent venomous imitators. We know how harmless their bites truly are, it's basically their only means of survival once spotted by potential predators - bluff out or become a meal. You saved a subadult black rat snake who was doing their best imitation of big and bad to keep from getting eaten.