Defining == is not enough. You have to define a hash(x) method, otherwise it 
will default to hashing based on the memory address (which changes between 
runs).

Reply via email to