summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_coercion.py
Commit message (Collapse)AuthorAgeFilesLines
* #7092: silence more -3 and -Wd warningsEzio Melotti2010-01-311-7/+10
|
* Reverting the Revision: 77368. I committed Flox's big patch for tests bySenthil Kumaran2010-01-081-13/+7
| | | | mistake. ( It may come in for sure tough)
* Fixing - Issue7026 - RuntimeError: dictionary changed size during iteration. ↵Senthil Kumaran2010-01-081-7/+13
| | | | Patch by flox
* convert usage of fail* to assert*Benjamin Peterson2009-06-301-2/+2
|
* Issue 2235: Py3k warnings are now emitted for classes that will no longer ↵Nick Coghlan2008-08-111-0/+1
| | | | 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.
* Patch #2167 from calvin: Remove unused importsChristian Heimes2008-02-231-1/+0
|
* Missed test for rev. 46933; infinite recursion from __coerce__() returning ↵Brett Cannon2006-06-131-1/+19
| | | | its arguments reversed.
* whitespace normalisationAnthony Baxter2006-03-301-4/+4
|
* Make test_coercion pass with -Qnew. Converted to unittest on the occasion.Georg Brandl2006-03-281-82/+242
|
* PEP 352 implementation. Creates a new base class, BaseException, which has anBrett Cannon2006-03-011-3/+3
| | | | | | | | | 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.
* Dima Dorfman's patch for coercion/comparison of C types (patch #995939), withArmin Rigo2004-12-231-0/+36
| | | | | a minor change after the coercion, to accept two objects not necessarily of the same type but with the same tp_compare.
* Make test_coercion.py less sensitive to platform fp quirks. ClosesNeil Schemenauer2004-03-101-4/+19
| | | | SF bug #678265.
* Complete the absolute import patch for the test suite. All relativeBarry Warsaw2002-07-301-1/+1
| | | | | | | | 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.
* Tighten up some warning filters, and break some dependencies on theTim Peters2002-04-161-1/+2
| | | | order in which the tests are normally run.
* It makes more sense to call resetwarnings() after every test runs thanTim Peters2002-04-161-5/+2
| | | | to keep doing that in every test that wants to filter a warning.
* Reduce the number of test-suite DeprecationWarnings; start addingTim Peters2002-04-151-2/+9
| | | | resetwarnings() calls too.
* Use numbers that can be accurately represented on binary machines. I hopeNeil Schemenauer2001-01-031-2/+2
| | | | this works on all platforms.
* Add more tests for compare and coercion in preparation for the coercionNeil Schemenauer2001-01-021-0/+113
overhaul. Closes SF patch #102878.