Home
last modified time | relevance | path

Searched refs:nullcontext (Results 1 – 13 of 13) sorted by relevance

/third_party/mesa3d/.gitlab-ci/tests/lava/
Dhelpers.py1 from contextlib import nullcontext as does_not_raise
/third_party/python/Lib/test/
Dtest_contextlib_async.py4 AsyncExitStack, nullcontext, aclosing, contextmanager)
597 async with nullcontext(c) as c_in:
Dtest_with.py10 from contextlib import _GeneratorContextManager, contextmanager, nullcontext
645 with nullcontext(range(1, 5)) as (a, *b, c):
Dtest_contextlib.py314 with nullcontext(c) as c_in:
Dtest_concurrent_futures.py1156 cm = contextlib.nullcontext()
/third_party/mesa3d/.gitlab-ci/tests/
Dtest_lava_job_submitter.py9 from contextlib import nullcontext as does_not_raise
/third_party/python/Doc/library/
Dcontextlib.rst219 .. function:: nullcontext(enter_result=None)
231 cm = contextlib.nullcontext()
243 cm = nullcontext(file_or_path)
257 cm = nullcontext(session)
/third_party/python/Lib/
Dcontextlib.py721 class nullcontext(AbstractContextManager, AbstractAsyncContextManager): class
Dast.py29 from contextlib import contextmanager, nullcontext
759 return nullcontext()
/third_party/python/Misc/NEWS.d/
D3.10.0a3.rst824 Add async context manager support for contextlib.nullcontext.
D3.7.0a3.rst431 Added *nullcontext* no-op context manager to contextlib. This provides a
/third_party/python/Doc/whatsnew/
D3.10.rst968 Add asynchronous context manager support to :func:`contextlib.nullcontext`.
D3.7.rst829 The new :func:`~contextlib.nullcontext` is a simpler and faster no-op