]> granicus.if.org Git - python/commitdiff
Merged revisions 68499 via svnmerge from
authorMark Dickinson <dickinsm@gmail.com>
Sat, 10 Jan 2009 19:16:40 +0000 (19:16 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Sat, 10 Jan 2009 19:16:40 +0000 (19:16 +0000)
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68499 | mark.dickinson | 2009-01-10 19:14:55 +0000 (Sat, 10 Jan 2009) | 2 lines

  Remove an unnecessary check from test_decimal.
........

Lib/test/test_decimal.py

index ade356c12d631c1cc9bfc76afdf203412d29001c..96438041602f38776739fd4616d426714ace905b 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