summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_int.py
Commit message (Collapse)AuthorAgeFilesLines
* use assert[Not]IsInstance where appropriateEzio Melotti2010-01-241-5/+5
|
* convert usage of fail* to assert*Benjamin Peterson2009-06-301-6/+6
|
* Issue #3166: Make long -> float (and int -> float) conversionsMark Dickinson2009-04-201-0/+34
| | | | | | correctly rounded, using round-half-to-even. This ensures that the value of float(n) doesn't depend on whether we're using 15-bit digits or 30-bit digits for Python longs.
* Issue #3439: add bit_length method to int and long.Mark Dickinson2008-12-171-0/+35
| | | | | Thanks Fredrik Johansson and Victor Stinner for code, Raymond Hettinger for review.
* Moved testing of builtin types out of test_builtin and into type specific ↵Benjamin Peterson2008-05-031-0/+331
modules