Zachary Ware
1f70221b86
Issue #19572 : More silently skipped tests explicitly skipped.
2013-12-10 14:09:20 -06:00
Antoine Pitrou
6032c25063
Issue #8248 : Add some tests for the bool type. Patch by Gregory Nofi.
2010-03-30 18:49:45 +00:00
Florent Xicluna
bc27c6a5aa
Various tests cleanup: check_warnings/check_py3k_warnings, unittest.assert* and setUp/tearDown.
2010-03-19 18:34:55 +00:00
Florent Xicluna
6de9e938a5
Issue #7849 : Now the utility ``check_warnings`` verifies if the warnings are
...
effectively raised. A new utility ``check_py3k_warnings`` deals with py3k warnings.
2010-03-07 12:18:33 +00:00
Mark Dickinson
e365613528
Issue #7532 : Add additional slicing test cases for new- and old-style
...
classes. Patch by Florent Xicluna.
2010-01-09 18:50:50 +00:00
Benjamin Peterson
5c8da86f3a
convert usage of fail* to assert*
2009-06-30 22:57:08 +00:00
Christian Heimes
c5f05e45cf
Patch #2167 from calvin: Remove unused imports
2008-02-23 17:40:11 +00:00
Kristján Valur Jónsson
170eee9d6a
Fix those parts in the testsuite that assumed that sys.maxint would cause overflow on x64. Now the testsuite is well behaved on that platform.
2007-05-03 20:09:56 +00:00
Neal Norwitz
271a8689e9
Subclasses of int/long are allowed to define an __index__.
2006-08-15 06:29:03 +00:00
Tim Peters
c02c1c8a12
Whitespace normalization.
2006-08-15 00:25:04 +00:00
Neal Norwitz
1872b1c01f
Fix a couple of bugs exposed by the new __index__ code. The 64-bit buildbots
...
were failing due to inappropriate clipping of numbers larger than 2**31
with new-style classes. (typeobject.c) In reviewing the code for classic
classes, there were 2 problems. Any negative value return could be returned.
Always return -1 if there was an error. Also make the checks similar
with the new-style classes. I believe this is correct for 32 and 64 bit
boxes, including Windows64.
Add a test of classic classes too.
2006-08-12 18:44:06 +00:00
Neal Norwitz
8a87f5d37e
Patch #1538606 , Patch to fix __index__() clipping.
...
I modified this patch some by fixing style, some error checking, and adding
XXX comments. This patch requires review and some changes are to be expected.
I'm checking in now to get the greatest possible review and establish a
baseline for moving forward. I don't want this to hold up release if possible.
2006-08-12 17:03:09 +00:00
Armin Rigo
314861c568
Minor bugs in the __index__ code (PEP 357), with tests.
2006-03-30 14:04:02 +00:00
Anthony Baxter
4ef3a23a35
whitespace normalisation
2006-03-30 12:59:11 +00:00
Armin Rigo
5eca19b894
Checking in the test for PEP 357.
...
This is from the SF tracker as well; for some reason the
content of test_index.py was lost and an empty file was
checked in instead.
2006-03-30 11:28:43 +00:00
Guido van Rossum
38fff8c4e4
Checking in the code for PEP 357.
...
This was mostly written by Travis Oliphant.
I've inspected it all; Neal Norwitz and MvL have also looked at it
(in an earlier incarnation).
2006-03-07 18:50:55 +00:00