Kaydet (Commit) da62f81d authored tarafından Mark Dickinson's avatar Mark Dickinson

Remove an unnecessary check from test_decimal.

üst 590c6681
...@@ -168,7 +168,6 @@ def outside_decNumber_bounds(v, context): ...@@ -168,7 +168,6 @@ def outside_decNumber_bounds(v, context):
-context.Emin > DEC_MAX_MATH): -context.Emin > DEC_MAX_MATH):
return True return True
if not v._is_special and v and ( if not v._is_special and v and (
len(v._int) > DEC_MAX_MATH or
v.adjusted() > DEC_MAX_MATH or v.adjusted() > DEC_MAX_MATH or
v.adjusted() < 1-2*DEC_MAX_MATH): v.adjusted() < 1-2*DEC_MAX_MATH):
return True return True
......
Markdown is supported
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