def test_hash_vs_typeinfo():
 x1 = Symbol('x', even=True)
 x2 = Symbol('x', integer=True, odd=False)
 assert (hash(x1) == hash(x2))
 assert (x1 == x2)

def test_hash_vs_typeinfo ( ) : x1 = Symbol ( 'x' , even = True ) x2 = Symbol ( 'x' , integer = True , odd = False ) assert ( hash ( x1 ) == hash ( x2 ) ) assert ( x1 == x2 )
seemingly different typeinfo .