]> granicus.if.org Git - python/commitdiff
Remove an unnecessary check from test_decimal.
authorMark Dickinson <dickinsm@gmail.com>
Sat, 10 Jan 2009 19:14:55 +0000 (19:14 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Sat, 10 Jan 2009 19:14:55 +0000 (19:14 +0000)
Lib/test/test_decimal.py

index 4ca5c165f3b3c7f8ea8b7e61c8c3161718d857cb..da870083d641cec17d83384328778dc035a85f94 100644 (file)
@@ -168,7 +168,6 @@ def outside_decNumber_bounds(v, context):
         -context.Emin > DEC_MAX_MATH):
         return True
     if not v._is_special and v and (
-        len(v._int) > DEC_MAX_MATH or
         v.adjusted() > DEC_MAX_MATH or
         v.adjusted() < 1-2*DEC_MAX_MATH):
         return True