| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79661 | mark.dickinson | 2010-04-03 11:27:05 +0100 (Sat, 03 Apr 2010) | 14 lines
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.
........
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79642 | benjamin.peterson | 2010-04-02 20:08:34 -0500 (Fri, 02 Apr 2010) | 1 line
split out large test function
........
r79644 | benjamin.peterson | 2010-04-02 20:28:57 -0500 (Fri, 02 Apr 2010) | 1 line
give TypeError when trying to set T_STRING_INPLACE
........
|
| |
|
|
| |
test suite. Closes issue w.r.t. 2.6 (R: Brett Cannon)
|
| |
|
|
|
|
|
|
| |
WarningsRecorder object. This makes the API simpler to use as no special object
must be learned.
Closes issue 3781.
Review by Benjamin Peterson.
|
| |
|
|
| |
Perform additional cleanup, mostly deleting from sys.modules, or clearing the warnings registry.
|
| | |
|
| |
|
|
| |
Patch by Angelo Mottola, reviewed by MvL, tests by me.
|
| | |
|
| |
|
|
| |
Will backport to 2.5.
|
| |
|
|
|
|
|
| |
be used to catch the last warning issued by the warning framework.
Change test_warnings.py and test_structmembers.py to use this
new contextmanager.
|
| |
|
|
|
| |
class to that reusing the functionality in test_structmembers.py doesn't rerun
the tests from test_warnings.py.
|
| | |
|
|
|
Fixes #1545696 and #1566140. Will backport to 2.5.
|