Ezio Melotti
ef4909643d
#7092 : silence more -3 and -Wd warnings
2010-01-31 11:46:54 +00:00
Senthil Kumaran
ce8e33a095
Reverting the Revision: 77368. I committed Flox's big patch for tests by
...
mistake. ( It may come in for sure tough)
2010-01-08 19:04:16 +00:00
Senthil Kumaran
3ddc435af6
Fixing - Issue7026 - RuntimeError: dictionary changed size during iteration. Patch by flox
2010-01-08 18:41:40 +00:00
Benjamin Peterson
5c8da86f3a
convert usage of fail* to assert*
2009-06-30 22:57:08 +00:00
Nick Coghlan
48361f5cbf
Issue 2235: Py3k warnings are now emitted for classes that will no longer inherit a__hash__ implementation from a parent class in Python 3.x. The standard library and test suite have been updated to not emit these warnings.
2008-08-11 15:45:58 +00:00
Christian Heimes
c5f05e45cf
Patch #2167 from calvin: Remove unused imports
2008-02-23 17:40:11 +00:00
Brett Cannon
5dc3e3f17a
Missed test for rev. 46933; infinite recursion from __coerce__() returning its arguments reversed.
2006-06-13 22:26:13 +00:00
Anthony Baxter
4ef3a23a35
whitespace normalisation
2006-03-30 12:59:11 +00:00
Georg Brandl
686eaeb0b8
Make test_coercion pass with -Qnew. Converted to unittest on the occasion.
2006-03-28 10:00:53 +00:00
Brett Cannon
bf36409e2a
PEP 352 implementation. Creates a new base class, BaseException, which has an
...
added message attribute compared to the previous version of Exception. It is
also a new-style class, making all exceptions now new-style. KeyboardInterrupt
and SystemExit inherit from BaseException directly. String exceptions now
raise DeprecationWarning.
Applies patch 1104669, and closes bugs 1012952 and 518846.
2006-03-01 04:25:17 +00:00
Armin Rigo
a174813113
Dima Dorfman's patch for coercion/comparison of C types (patch #995939 ), with
...
a minor change after the coercion, to accept two objects not necessarily of
the same type but with the same tp_compare.
2004-12-23 22:13:13 +00:00
Neil Schemenauer
6cbba50a43
Make test_coercion.py less sensitive to platform fp quirks. Closes
...
SF bug #678265 .
2004-03-10 17:30:03 +00:00
Barry Warsaw
408b6d34de
Complete the absolute import patch for the test suite. All relative
...
imports of test modules now import from the test package. Other
related oddities are also fixed (like DeprecationWarning filters that
weren't specifying the full import part, etc.). Also did a general
code cleanup to remove all "from test.test_support import *"'s. Other
from...import *'s weren't changed.
2002-07-30 23:27:12 +00:00
Tim Peters
d392506c43
Tighten up some warning filters, and break some dependencies on the
...
order in which the tests are normally run.
2002-04-16 01:27:44 +00:00
Tim Peters
7d79948103
It makes more sense to call resetwarnings() after every test runs than
...
to keep doing that in every test that wants to filter a warning.
2002-04-16 00:01:09 +00:00
Tim Peters
f022a4d451
Reduce the number of test-suite DeprecationWarnings; start adding
...
resetwarnings() calls too.
2002-04-15 23:52:04 +00:00
Neil Schemenauer
38796d07a5
Use numbers that can be accurately represented on binary machines. I hope
...
this works on all platforms.
2001-01-03 01:52:11 +00:00
Neil Schemenauer
fd288c7cd5
Add more tests for compare and coercion in preparation for the coercion
...
overhaul. Closes SF patch #102878 .
2001-01-02 16:30:31 +00:00