From: Mark Dickinson Date: Sat, 10 Jan 2009 19:14:55 +0000 (+0000) Subject: Remove an unnecessary check from test_decimal. X-Git-Tag: v2.7a1~2332 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da62f81d1d048808dbff1f96c5c4db366dc52149;p=thirdparty%2FPython%2Fcpython.git Remove an unnecessary check from test_decimal. --- diff --git a/Lib/test/test_decimal.py b/Lib/test/test_decimal.py index 4ca5c165f3b3..da870083d641 100644 --- a/Lib/test/test_decimal.py +++ b/Lib/test/test_decimal.py @@ -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