summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_structmembers.py
Commit message (Collapse)AuthorAgeFilesLines
* 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.