Commit 4df85e49 authored by Damien George's avatar Damien George
Browse files

tests: Add test for hash of user defined class.

parent e00eeaf4
# test builtin hash function
class A:
def __hash__(self):
return 123
def __repr__(self):
return "a instance"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment