summaryrefslogtreecommitdiffstats
path: root/Lib/opcode.py
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2008-05-08 19:50:51 (GMT)
committerBrett Cannon <bcannon@gmail.com>2008-05-08 19:50:51 (GMT)
commitbfb997d6a5a7fa79a67d63355390337d4e796b6c (patch)
treee1dfb78f5cc6679dd00a96d605198055a07f1de4 /Lib/opcode.py
parent9d4418242757f616ca7041409c7015e166b2c9f9 (diff)
downloadcpython-bfb997d6a5a7fa79a67d63355390337d4e796b6c.zip
cpython-bfb997d6a5a7fa79a67d63355390337d4e796b6c.tar.gz
cpython-bfb997d6a5a7fa79a67d63355390337d4e796b6c.tar.bz2
Make test.test_support.catch_warning() take an argument specifying if any
triggered warnings should be captured. This allows the context manager to be used to just prevent the internal state of the 'warnings' framework and thus allow triggered warnings to be displayed.
Diffstat (limited to 'Lib/opcode.py')
0 files changed, 0 insertions, 0 deletions