Home
last modified time | relevance | path

Searched refs:ResourceDenied (Results 1 – 11 of 11) 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/cpython3/Lib/tkinter/test/
Druntktests.py49 except test.support.ResourceDenied:
/external/python/cpython2/Lib/lib-tk/test/
Druntktests.py50 except test.test_support.ResourceDenied:
/external/python/cpython3/Lib/test/support/
Dsocket_helper.py217 denied = support.ResourceDenied("Resource %r is not available" % resource_name)
D__init__.py127 class ResourceDenied(unittest.SkipTest): class
574 raise ResourceDenied(msg)
576 raise ResourceDenied(_is_gui_available.reason)
1374 raise ResourceDenied("an optional resource is not available")
/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.py271 except support.ResourceDenied as msg:
/external/python/cpython3/Doc/library/
Dtest.rst219 .. exception:: ResourceDenied
503 Raise :exc:`ResourceDenied` if *resource* is not available. *msg* is the
504 argument to :exc:`ResourceDenied` if it is raised. Always returns
1309 Instances are a context manager that raises :exc:`ResourceDenied` if the
1313 attributes on the exception is :exc:`ResourceDenied` raised.
1487 A context manager that raises :exc:`~test.support.ResourceDenied` when
/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.