Skip to content

Commit 32341de

Browse files
committed
add gh number
1 parent 4f9fc76 commit 32341de

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Lib/test/test_long.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1694,7 +1694,10 @@ class MyInt(int):
16941694
object.__sizeof__(1)
16951695

16961696
def test_long_hash(self):
1697+
# gh-136599
1698+
assert hash(10) == 10
1699+
assert hash(-1) == -2
16971700
assert hash(-2**61) != -1
1698-
1701+
16991702
if __name__ == "__main__":
17001703
unittest.main()

0 commit comments

Comments
 (0)