summaryrefslogtreecommitdiff
path: root/Lib/test/test_long.py
AgeCommit message (Expand)AuthorLines
2010-01-24use assert[Not]IsInstance where appropriateEzio Melotti-2/+2
2010-01-08Reverting the Revision: 77368. I committed Flox's big patch for tests bySenthil Kumaran-11/+7
2010-01-08Fixing - Issue7026 - RuntimeError: dictionary changed size during iteration. ...Senthil Kumaran-7/+11
2009-06-30convert usage of fail* to assert*Benjamin Peterson-9/+9
2009-04-20Nit: integer division should use //, not /Mark Dickinson-1/+1
2009-04-20Issue #3166: Make long -> float (and int -> float) conversionsMark Dickinson-0/+59
2009-03-20Issue #4258: Use 30-bit digits for Python longs, on 64-bit platforms.Mark Dickinson-1/+30
2008-12-17Issue #3439: add bit_length method to int and long.Mark Dickinson-0/+37
2008-09-09#3777: long(4.2) returned an int, and broke backward compatibility.Amaury Forgeot d'Arc-0/+4
2008-08-04Issue #1481296: (again!) Make conversion of a float NaN to an int orMark Dickinson-1/+2
2008-05-03Moved testing of builtin types out of test_builtin and into type specific mod...Benjamin Peterson-2/+249
2008-01-05Continue rolling back pep-3141 changes that changed behavior from 2.5. ThisJeffrey Yasskin-3/+1
2008-01-04Bug #1481296: Fixed long(float('nan'))!=0L.Christian Heimes-0/+4
2008-01-03Backport PEP 3141 from the py3k branch to the trunk. This includes r50877 (justJeffrey Yasskin-1/+3
2006-10-04Forward-port of r52136,52138: a review of overflow-detecting code.Armin Rigo-3/+20
2005-06-29SF bug #1224347: int/long unification and hex()Raymond Hettinger-1/+1
2005-06-13Port test_long.py to unittest.Walter Dörwald-458/+401
2004-09-23SF bug #513866: Float/long comparison anomaly.Tim Peters-2/+102
2004-08-30Changed Karatsuba cutoff to match current reality.Tim Peters-1/+1
2003-02-03test_float_overflow(): make shuge (added last week) a little lessGuido van Rossum-1/+1
2003-01-28Fix SF bug# 676155, RuntimeWarning with tp_compareNeal Norwitz-2/+4
2002-11-19Change int() so that passing a string, unicode, float or long argumentWalter Dörwald-10/+14
2002-08-13Added a test specifically to tickle Karatsuba; it costs no appreciableTim Peters-0/+26
2002-08-13test_division(): Added one larger digits value, to ensure that theTim Peters-1/+2
2002-08-13Machines-- and Python --are a lot faster in relevant ways since thisTim Peters-3/+5
2002-07-23Get rid of relative imports in all unittests. Now anything thatBarry Warsaw-1/+1
2002-04-01Format strings (tuples,) appropriatelyNeal Norwitz-1/+1
2001-09-05Return reasonable results for math.log(long) and math.log10(long) (we wereTim Peters-3/+37
2001-09-04Revert one of the "division fixes" in test_long. It intends to try bothTim Peters-2/+2
2001-09-04The first batch of changes recommended by the fixdiv tool. These areGuido van Rossum-5/+5
2001-09-04Whitespace normalization.Tim Peters-1/+1
2001-09-04Raise OverflowError when appropriate on long->float conversion. Most ofTim Peters-0/+37
2001-09-03New restriction on pow(x, y, z): If z is not None, x and y must be ofTim Peters-4/+13
2001-08-23Add a test for the new // operator too.Tim Peters-0/+4
2001-08-23SF bug [#454456] int overflow code needs tests.Tim Peters-0/+61
2001-08-23Remove test_long's expected-output file.Tim Peters-4/+8
2001-01-17This patch removes all uses of "assert" in the regression test suiteMarc-André Lemburg-4/+4
2000-10-23Make reindent.py happy (convert everything to 4-space indents!).Fred Drake-1/+0
2000-04-10Christian Tismer: added test to ensure that multiplication commutes.Guido van Rossum-0/+2
1999-12-23Revise tests to support str(<long int object>) not appending "L".Fred Drake-2/+8
1998-10-02New test_long.py from Tim Peters.Guido van Rossum-11/+124
1998-08-13Add Tim Peters' test for long intsGuido van Rossum-0/+139