| commit | e6dae6c655bf1e5542f8d3821e2710e9fc0b5762 | [log] [tgz] |
|---|---|---|
| author | Walter Dörwald <walter@livinglogic.de> | Tue Apr 03 18:33:29 2007 +0000 |
| committer | Walter Dörwald <walter@livinglogic.de> | Tue Apr 03 18:33:29 2007 +0000 |
| tree | 8065ac4c779d5d4e446af8fa45fe160658b73e62 | |
| parent | c4a106733cd464ec2d2746fd3e868f09734eeb10 [diff] |
Implement a contextmanager test.test_support.catch_warning that can 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.