That’s part of what I’m thinking about - there is an indigenous form of Black nightshade here that grows everywhere. It makes small, dark purple almost black berries. I’ve eaten them in small quantities, and they are almost exactly the same as tiny tomatoes.
Web searches disagree about whether or not they are poisonous.
All “beauty” graphics aside, I believe that the heirloom purple potatoes available in farmers markets are about as close to “poisonous” nightshade one could get - the hybridization is that extensive and watered-out.
My wife cannot eat the heirloom-purples; severe and debilitating indigestion (Upper-GI stress).