diff options
| author | Mark Dickinson <dickinsm@gmail.com> | 2010-04-03 10:27:05 (GMT) | 
|---|---|---|
| committer | Mark Dickinson <dickinsm@gmail.com> | 2010-04-03 10:27:05 (GMT) | 
| commit | b05dc00fb7184eaf5bc78ef483a691540ebc1215 (patch) | |
| tree | dc4f871c0458292c74d407ff687c67a23d5de8eb /Lib/test/test_struct.py | |
| parent | 34c35b2788f4f764022f11a624fb08d325c31e94 (diff) | |
| download | cpython-b05dc00fb7184eaf5bc78ef483a691540ebc1215.zip cpython-b05dc00fb7184eaf5bc78ef483a691540ebc1215.tar.gz cpython-b05dc00fb7184eaf5bc78ef483a691540ebc1215.tar.bz2  | |
Fix a couple of issues with the test_structmembersType class in _testcapimodule
 - rename to _test_structmembersType to avoid the class being automatically
   called by test_capi
 - allow space for trailing NUL in inplace_member field of all_structmembers
 - use T_STRING_INPLACE instead of T_INPLACE_STRING as keyword argument
   to _test_structmembersType initializer
 - don't attempt to initialize inplace_member field if T_STRING_INPLACE
   argument wasn't supplied.
Diffstat (limited to 'Lib/test/test_struct.py')
0 files changed, 0 insertions, 0 deletions
