Add test that ensures hash() of objects defining __cmp__ or __eq__ but
not __hash__ raises TypeError.
1 file changed