Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/test/test_warnings/
D__init__.py35 global __warningregistry__
38 to_clear.__warningregistry__.clear()
42 __warningregistry__.clear()
72 del warning_tests.__warningregistry__
74 del sys.__warningregistry__
145 self.assertEqual(list(__warningregistry__), ['version'])
828 global __warningregistry__
832 __warningregistry__ = {}
844 __warningregistry__ = {}
850 __warningregistry__ = {}
[all …]
/external/pytorch/torch/_numpy/testing/
Dutils.py1842 mod_reg = mod.__warningregistry__
1851 mod.__warningregistry__.clear()
1853 mod.__warningregistry__.update(self._warnreg_copies[mod])
1951 module.__warningregistry__.clear()
/external/python/cpython3/Python/
D_warnings.c911 int rc = PyDict_GetItemRef(globals, &_Py_ID(__warningregistry__), in setup_context()
921 rc = PyDict_SetItem(globals, &_Py_ID(__warningregistry__), *registry); in setup_context()
/external/python/cpython3/Lib/test/libregrtest/
Dutils.py181 del mod.__warningregistry__
/external/python/cpython3/Include/internal/
Dpycore_global_strings.h223 STRUCT_FOR_ID(__warningregistry__)
Dpycore_runtime_init_generated.h732 INIT_ID(__warningregistry__), \
Dpycore_global_objects_fini_generated.h734 _PyStaticObject_CheckRefcnt((PyObject *)&_Py_ID(__warningregistry__)); in _PyStaticObjects_CheckRefcnt()
Dpycore_unicodeobject_generated.h683 string = &_Py_ID(__warningregistry__); in _PyUnicode_InitStaticStrings()
/external/python/cpython3/Lib/unittest/
Dcase.py294 v.__warningregistry__ = {}
/external/python/cpython3/Doc/library/
Dwarnings.rst471 module name and the registry (which should be the ``__warningregistry__``
/external/python/cpython3/Lib/test/test_unittest/
Dtest_case.py1432 def __warningregistry__(self): member in Test_TestCase.testAssertWarnsModifySysModules.Foo
/external/python/cpython3/Tools/c-analyzer/
DTODO449 Python/_warnings.c:setup_context():PyId___warningregistry__ _Py_IDENTIFIER(__warningregistry__)
/external/python/cpython3/Misc/NEWS.d/
D3.10.0a1.rst2507 ``RuntimeException`` when accessing a module's ``__warningregistry__``