fromNedbatchelder
5 days agoGenerating data shapes with Hypothesis
I couldn't get Hypothesis to generate usable data for my test. I wanted to assert that two equal data items would hash equally, but Hypothesis was finding pairs like[0] and [False]. These are equal but hash differently because the hash takes the types into account.