diff options
author | Walter Dörwald <walter@livinglogic.de> | 2007-04-03 18:33:29 +0000 |
---|---|---|
committer | Walter Dörwald <walter@livinglogic.de> | 2007-04-03 18:33:29 +0000 |
commit | e6dae6c655bf1e5542f8d3821e2710e9fc0b5762 (patch) | |
tree | 8065ac4c779d5d4e446af8fa45fe160658b73e62 /Lib/test/test_struct.py | |
parent | c4a106733cd464ec2d2746fd3e868f09734eeb10 (diff) | |
download | cpython-git-e6dae6c655bf1e5542f8d3821e2710e9fc0b5762.tar.gz |
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.
Diffstat (limited to 'Lib/test/test_struct.py')
0 files changed, 0 insertions, 0 deletions