Skip to content

Commit d55ec49

Browse files
committed
address review: filter out only qNaN's
1 parent a6b78d7 commit d55ec49

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/_decimal/tests/deccheck.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -971,7 +971,7 @@ def test_unary(method, prec, exp_range, restricted_range, itr, stat):
971971
try:
972972
if not convert(t):
973973
continue
974-
if t.funcname == '__hash__' and t.cop[0].is_nan():
974+
if t.funcname == '__hash__' and t.cop[0].is_qnan():
975975
continue
976976
callfuncs(t)
977977
verify(t, stat)

0 commit comments

Comments
 (0)