[Patches] [Patch #101162] a Python/C API testing framework (simple simple)
noreply@sourceforge.net
noreply@sourceforge.net
Fri, 11 Aug 2000 13:37:15 -0700
Patch #101162 has been updated.
Project:
Category: None
Status: Open
Summary: a Python/C API testing framework (simple simple)
Follow-Ups:
Date: 2000-Aug-11 13:37
By: tmick
Comment:
Here is a proposed patch for a Python/C API testing framework. Simple simple.
Basic Overview:
- add a _test C extension module that exports test functions beginning with
'test_'; NULL and a TestError exception indicates a test failure and
Py_None indicate a test pass
- add a test_capi.py test module that calls each of the 'test_' exported
functions in the '_test' module
- changes to the build system files for Win32 and Unix are includes to build
_testmodule.c as a shared extension
- new files: Lib/test/test_capi.py, Lib/test/output/test_capi,
Modules/_testmodule.c, and PCbuild/_test.dsp
-------------------------------------------------------
-------------------------------------------------------
For more info, visit:
http://sourceforge.net/patch/?func=detailpatch&patch_id=101162&group_id=5470