summaryrefslogtreecommitdiffstats
path: root/Lib/mhlib.py
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2003-02-03 15:19:30 (GMT)
committerFred Drake <fdrake@acm.org>2003-02-03 15:19:30 (GMT)
commit9a0db07c2ffd4e4b3ae75d5820dc6b4152b3582b (patch)
treecdf94497d1ebdd3e08812ebbecb5533223a58bab /Lib/mhlib.py
parent13b291021f0f9741423e41b94f04f931a442054c (diff)
downloadcpython-9a0db07c2ffd4e4b3ae75d5820dc6b4152b3582b.zip
cpython-9a0db07c2ffd4e4b3ae75d5820dc6b4152b3582b.tar.gz
cpython-9a0db07c2ffd4e4b3ae75d5820dc6b4152b3582b.tar.bz2
test_support.requires(): Instead of raising TestSkipped, raise a new
exception, ResourceDenied. This is used to distinguish between tests that are skipped for other reasons (platform support, missing data, etc.) from those that are skipped because a "resource" has not been enabled. This prevents those tests from being reported as unexpected skips for the platform; those should only be considered unexpected skips if the resource were enabled.
Diffstat (limited to 'Lib/mhlib.py')
0 files changed, 0 insertions, 0 deletions