Searched refs:ResourceDenied (Results 1 – 10 of 10) sorted by relevance
13 class ResourceDenied(unittest.SkipTest): class44 raise ResourceDenied(msg)73 except (ResourceDenied, unittest.SkipTest) as detail:
50 except test.test_support.ResourceDenied:
49 except test.support.ResourceDenied:
218 .. exception:: ResourceDenied267 Raise :exc:`ResourceDenied` if *resource* is not available. *msg* is the268 argument to :exc:`ResourceDenied` if it is raised. Always returns445 Instances are a context manager that raises :exc:`ResourceDenied` if the449 attributes on the exception is :exc:`ResourceDenied` raised.
56 class ResourceDenied(unittest.SkipTest): class409 raise ResourceDenied(msg)411 raise ResourceDenied(_is_gui_available.reason)1141 raise ResourceDenied("an optional resource is not available")1165 denied = ResourceDenied("Resource '%s' is not available" % resource_name)
185 except support.ResourceDenied as msg:
123 class ResourceDenied(unittest.SkipTest): class551 raise ResourceDenied(msg)553 raise ResourceDenied(_is_gui_available.reason)1402 raise ResourceDenied("an optional resource is not available")1435 denied = ResourceDenied("Resource %r is not available" % resource_name)
219 .. exception:: ResourceDenied424 Raise :exc:`ResourceDenied` if *resource* is not available. *msg* is the425 argument to :exc:`ResourceDenied` if it is raised. Always returns692 A context manager that raises :exc:`ResourceDenied` when various issues1197 Instances are a context manager that raises :exc:`ResourceDenied` if the1201 attributes on the exception is :exc:`ResourceDenied` raised.
1330 except support.ResourceDenied, msg:
4664 test_urllib2net and raise test.test_support.ResourceDenied.