Home
last modified time | relevance | path

Searched refs:ResourceDenied (Results 1 – 10 of 10) sorted by relevance

/external/python/cpython2/Lib/ctypes/test/
D__init__.py13 class ResourceDenied(unittest.SkipTest): class
44 raise ResourceDenied(msg)
73 except (ResourceDenied, unittest.SkipTest) as detail:
/external/python/cpython2/Lib/lib-tk/test/
Druntktests.py50 except test.test_support.ResourceDenied:
/external/python/cpython3/Lib/tkinter/test/
Druntktests.py49 except test.support.ResourceDenied:
/external/python/cpython2/Doc/library/
Dtest.rst218 .. exception:: ResourceDenied
267 Raise :exc:`ResourceDenied` if *resource* is not available. *msg* is the
268 argument to :exc:`ResourceDenied` if it is raised. Always returns
445 Instances are a context manager that raises :exc:`ResourceDenied` if the
449 attributes on the exception is :exc:`ResourceDenied` raised.
/external/python/cpython2/Lib/test/support/
D__init__.py56 class ResourceDenied(unittest.SkipTest): class
409 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)
/external/python/cpython3/Lib/test/libregrtest/
Druntest.py185 except support.ResourceDenied as msg:
/external/python/cpython3/Lib/test/support/
D__init__.py123 class ResourceDenied(unittest.SkipTest): class
551 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)
/external/python/cpython3/Doc/library/
Dtest.rst219 .. exception:: ResourceDenied
424 Raise :exc:`ResourceDenied` if *resource* is not available. *msg* is the
425 argument to :exc:`ResourceDenied` if it is raised. Always returns
692 A context manager that raises :exc:`ResourceDenied` when various issues
1197 Instances are a context manager that raises :exc:`ResourceDenied` if the
1201 attributes on the exception is :exc:`ResourceDenied` raised.
/external/python/cpython2/Lib/test/
Dregrtest.py1330 except support.ResourceDenied, msg:
/external/python/cpython2/Misc/NEWS.d/
D2.6a1.rst4664 test_urllib2net and raise test.test_support.ResourceDenied.