Searched refs:ResourceDenied (Results 1 – 11 of 11) sorted by relevance
13 class ResourceDenied(unittest.SkipTest): class44 raise ResourceDenied(msg)73 except (ResourceDenied, unittest.SkipTest) as detail:
49 except test.support.ResourceDenied:
50 except test.test_support.ResourceDenied:
217 denied = support.ResourceDenied("Resource %r is not available" % resource_name)
127 class ResourceDenied(unittest.SkipTest): class574 raise ResourceDenied(msg)576 raise ResourceDenied(_is_gui_available.reason)1374 raise ResourceDenied("an optional resource is not available")
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)
271 except support.ResourceDenied as msg:
219 .. exception:: ResourceDenied503 Raise :exc:`ResourceDenied` if *resource* is not available. *msg* is the504 argument to :exc:`ResourceDenied` if it is raised. Always returns1309 Instances are a context manager that raises :exc:`ResourceDenied` if the1313 attributes on the exception is :exc:`ResourceDenied` raised.1487 A context manager that raises :exc:`~test.support.ResourceDenied` when
1330 except support.ResourceDenied, msg:
4664 test_urllib2net and raise test.test_support.ResourceDenied.