]> granicus.if.org Git - python/commit
Fix DeprecationWarning in tests (#4345)
authorVictor Stinner <victor.stinner@gmail.com>
Wed, 8 Nov 2017 22:45:55 +0000 (14:45 -0800)
committerGitHub <noreply@github.com>
Wed, 8 Nov 2017 22:45:55 +0000 (14:45 -0800)
commit2ce1ef54d30606e61e85526861673bac3faef617
treeb5e25b0782f29ea48f41e89132788e3639cba67d
parentfbdd3eeba3e526e162f2eb54d224cf36ed8cfea1
Fix DeprecationWarning in tests (#4345)

Define __hash__() in test_functools and test_itertools to fix the
following warning:

DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
Lib/test/test_functools.py
Lib/test/test_itertools.py