Home
last modified time | relevance | path

Searched refs:ResourceDenied (Results 1 - 7 of 7) sorted by relevance

/third_party/python/Lib/idlelib/
H A Dmacosx.py29 from test.support import requires, ResourceDenied namespace
32 except ResourceDenied:
/third_party/python/Lib/test/libregrtest/
H A Druntest.py94 class ResourceDenied(Skipped): class
356 except support.ResourceDenied as msg:
359 return ResourceDenied(test_name)
H A Dmain.py16 Passed, Failed, EnvChanged, Skipped, ResourceDenied, Interrupted,
124 elif isinstance(result, ResourceDenied):
/third_party/python/Lib/test/support/
H A Dsocket_helper.py194 """Return a context manager that raises ResourceDenied when various issues
220 denied = support.ResourceDenied("Resource %r is not available" % resource_name)
H A D__init__.py31 "Error", "TestFailed", "TestDidNotRun", "ResourceDenied",
134 class ResourceDenied(unittest.SkipTest): class
302 """Raise ResourceDenied if the specified resource is not available."""
306 raise ResourceDenied(msg)
308 raise ResourceDenied("No socket support")
310 raise ResourceDenied(_is_gui_available.reason)
/third_party/python/Lib/test/
H A Dtest_urllib2net.py6 from test.support import ResourceDenied namespace
40 """Raise ResourceDenied if an exception is raised while the context manager
52 self.attrs, raise ResourceDenied. Otherwise let the exception
61 raise ResourceDenied("an optional resource is not available")
63 # Context managers that raise ResourceDenied when various issues
H A Dtest_unicodedata.py16 ResourceDenied)

Completed in 7 milliseconds