Tim Peters
32f453eaa4
New restriction on pow(x, y, z): If z is not None, x and y must be of
...
integer types, and y must be >= 0. See discussion at
http://sf.net/tracker/index.php?func=detail&aid=457066&group_id=5470&atid=105470
2001-09-03 08:35:41 +00:00
Tim Peters
a365309528
Add a test for the new // operator too.
2001-08-23 23:02:57 +00:00
Tim Peters
26c7fa355a
SF bug [ #454456 ] int overflow code needs tests.
...
Added tests for boundary cases in magical PEP 237 int->long auto-overflow,
but nothing here addresses the rest of the bug report so left it open.
2001-08-23 22:56:21 +00:00
Tim Peters
971e0690c4
Remove test_long's expected-output file.
2001-08-23 20:34:01 +00:00
Marc-André Lemburg
3661908a6a
This patch removes all uses of "assert" in the regression test suite
...
and replaces them with a new API verify(). As a result the regression
suite will also perform its tests in optimization mode.
Written by Marc-Andre Lemburg. Copyright assigned to Guido van Rossum.
2001-01-17 19:11:13 +00:00
Fred Drake
004d5e6880
Make reindent.py happy (convert everything to 4-space indents!).
2000-10-23 17:22:08 +00:00
Guido van Rossum
6e277cf7de
Christian Tismer: added test to ensure that multiplication commutes.
...
[The test is in a slightly odd place, in test_division_2; but it
exercises the recent change to long_mult(), and that's all we really
ask for. --GvR]
2000-04-10 17:41:37 +00:00
Fred Drake
db1bd5c230
Revise tests to support str(<long int object>) not appending "L".
1999-12-23 15:36:42 +00:00
Guido van Rossum
4581a0c07b
New test_long.py from Tim Peters.
1998-10-02 01:19:48 +00:00
Guido van Rossum
4365cabf3c
Add Tim Peters' test for long ints
1998-08-13 14:20:17 +00:00