summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_coercion.py
Commit message (Collapse)AuthorAgeFilesLines
* Delete test_coercion.py. Coercion is dead, so this test is useless.Guido van Rossum2006-04-221-329/+0
| | | | (Plus, it fails. :-)
* Merge p3yk branch with the trunk up to revision 45595. This breaks a fairThomas Wouters2006-04-211-82/+242
| | | | | | | | | | | | | | | | | | | | number of tests, all because of the codecs/_multibytecodecs issue described here (it's not a Py3K issue, just something Py3K discovers): http://mail.python.org/pipermail/python-dev/2006-April/064051.html Hye-Shik Chang promised to look for a fix, so no need to fix it here. The tests that are expected to break are: test_codecencodings_cn test_codecencodings_hk test_codecencodings_jp test_codecencodings_kr test_codecencodings_tw test_codecs test_multibytecodec This merge fixes an actual test failure (test_weakref) in this branch, though, so I believe merging is the right thing to do anyway.
* Get rid of remnants of integer divisionNeal Norwitz2006-03-241-2/+2
|
* 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.