Lines Matching refs:ResourceDenied
29 __all__ = ["Error", "TestFailed", "ResourceDenied", "import_module",
52 class ResourceDenied(unittest.SkipTest):
390 """Raise ResourceDenied if the specified resource is not available."""
394 raise ResourceDenied(msg)
396 raise ResourceDenied(_is_gui_available.reason)
1064 """Raise ResourceDenied if an exception is raised while the context manager
1076 self.attrs, raise ResourceDenied. Otherwise let the exception
1085 raise ResourceDenied("an optional resource is not available")
1090 """Return a context manager that raises ResourceDenied when various issues
1109 denied = ResourceDenied("Resource '%s' is not available" % resource_name)