summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_structmembers.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #20532: Tests which use _testcapi now are marked as CPython only.Serhiy Storchaka2014-02-071-3/+5
|
* Merged revisions 86596 via svnmerge fromEzio Melotti2010-11-211-20/+20
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86596 | ezio.melotti | 2010-11-20 21:04:17 +0200 (Sat, 20 Nov 2010) | 1 line #9424: Replace deprecated assert* methods in the Python test suite. ........
* Fix a couple of issues with the test_structmembersType class in _testcapimoduleMark Dickinson2010-04-031-2/+2
| | | | | | | | | | | | | - 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.
* give TypeError when trying to set T_STRING_INPLACEBenjamin Peterson2010-04-031-1/+6
|
* split out large test functionBenjamin Peterson2010-04-031-16/+21
|
* Cleanup some test cases using check_warnings and check_py3k_warnings.Florent Xicluna2010-03-171-15/+6
|
* Remove unused imports in test modules.Georg Brandl2010-02-071-1/+1
|
* Issue #3781: Final cleanup of warnings.catch_warnings and its usage in the ↵Nick Coghlan2008-09-111-7/+7
| | | | test suite. Closes issue w.r.t. 2.6 (R: Brett Cannon)
* warnings.catch_warnings() now returns a list or None instead of the customBrett Cannon2008-09-091-7/+7
| | | | | | | | WarningsRecorder object. This makes the API simpler to use as no special object must be learned. Closes issue 3781. Review by Benjamin Peterson.
* Some tests did not pass on repeated calls (regrtest -R::)Amaury Forgeot d'Arc2008-04-181-6/+0
| | | | Perform additional cleanup, mostly deleting from sys.modules, or clearing the warnings registry.
* Reformat some ugly code.Georg Brandl2008-01-211-26/+27
|
* Patch #1720595: add T_BOOL to the range of structmember types.Georg Brandl2008-01-211-1/+7
| | | | Patch by Angelo Mottola, reviewed by MvL, tests by me.
* Make test_structmembers pass when run with regrtests's -R flag.Collin Winter2007-08-241-6/+9
|
* Patch #1733960: Allow T_LONGLONG to accept ints.Martin v. Löwis2007-06-091-1/+19
| | | | Will backport to 2.5.
* Implement a contextmanager test.test_support.catch_warning that canWalter Dörwald2007-04-031-17/+22
| | | | | | | 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.
* Move the functionality for catching warnings in test_warnings.py into a separateWalter Dörwald2007-04-031-1/+1
| | | | | class to that reusing the functionality in test_structmembers.py doesn't rerun the tests from test_warnings.py.
* Whitespace normalization.Tim Peters2006-11-031-3/+3
|
* Patch #1549049: Rewrite type conversion in structmember.Martin v. Löwis2006-10-271-0/+80
Fixes #1545696 and #1566140. Will backport to 2.5.