It's not uncommon to mistake the black-masked racer for an adult black rat snake or ... rocks or logs. Juvenile northern black racers are typically more colorful, with brown or gray blotches.
where a rat snake was observed consuming a juvenile Indian rock python. Notably, the rat snake completely engulfed the python alive. A manuscript detailing this natural history behaviour ...