summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_capi.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix most trivially-findable print statements.Guido van Rossum2007-02-091-2/+2
| | | | | | | | | There's one major and one minor category still unfixed: doctests are the major category (and I hope to be able to augment the refactoring tool to refactor bona fide doctests soon); other code generating print statements in strings is the minor category. (Oh, and I don't know if the compiler package works.)
* Merge p3yk branch with the trunk up to revision 45595. This breaks a fairThomas Wouters2006-04-211-40/+47
| | | | | | | | | | | | | | | | | | | | 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.
* Revert previous checkin on getargs 'L' code. Try to convert allMartin v. Löwis2005-03-031-13/+1
| | | | | numbers in PyLong_AsLongLong, and update test suite accordingly. Backported to 2.4.
* Clear internal call error in 'L' format. Fixes #723201.Martin v. Löwis2005-03-031-1/+13
| | | | Backported to 2.4.
* Whitespace normalization.Tim Peters2004-08-261-1/+0
|
* Fix for [ 1010677 ] thread Module Breaks PyGILState_Ensure(),Mark Hammond2004-08-241-0/+4
| | | | | and a test case. When booting a new thread, use the PyGILState API to manage the GIL.
* Whitespace normalization.Tim Peters2003-04-241-2/+2
|
* New PyGILState_ API - implements pep 311, from patch 684256.Mark Hammond2003-04-191-0/+29
|
* Get rid of relative imports in all unittests. Now anything thatBarry Warsaw2002-07-231-1/+1
| | | | | | | | | | | imports e.g. test_support must do so using an absolute package name such as "import test.test_support" or "from test import test_support". This also updates the README in Lib/test, and gets rid of the duplicate data dirctory in Lib/test/data (replaced by Lib/email/test/data). Now Tim and Jack can have at it. :)
* Fix typo in comment (the module is now called _testcapi, not _test).Guido van Rossum2001-04-131-1/+1
|
* Renamed _testXXX to _testcapiXXX. Jack is my hero -- good call!Tim Peters2001-02-041-6/+6
|
* Patch derived from Trent's 101162: a Python/C API testing framework.Tim Peters2001-02-021-0/+16
STILL NEEDS UNIX BUILD CHANGES.