Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Modules/_decimal/tests/deccheck.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@
from formathelper import rand_format, rand_locale
from _pydecimal import _dec_from_triple

sys.set_int_max_str_digits(0)

C = import_fresh_module('decimal', fresh=['_decimal'])
P = import_fresh_module('decimal', blocked=['_decimal'])
EXIT_STATUS = 0
Expand Down Expand Up @@ -969,6 +971,8 @@ def test_unary(method, prec, exp_range, restricted_range, itr, stat):
try:
if not convert(t):
continue
if t.funcname == '__hash__' and t.cop[0].is_qnan():
continue
callfuncs(t)
verify(t, stat)
except VerifyError as err:
Expand Down
Loading