Searched refs:__warningregistry__ (Results 1 – 13 of 13) sorted by relevance
35 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 …]
1842 mod_reg = mod.__warningregistry__1851 mod.__warningregistry__.clear()1853 mod.__warningregistry__.update(self._warnreg_copies[mod])1951 module.__warningregistry__.clear()
911 int rc = PyDict_GetItemRef(globals, &_Py_ID(__warningregistry__), in setup_context()921 rc = PyDict_SetItem(globals, &_Py_ID(__warningregistry__), *registry); in setup_context()
181 del mod.__warningregistry__
223 STRUCT_FOR_ID(__warningregistry__)
732 INIT_ID(__warningregistry__), \
734 _PyStaticObject_CheckRefcnt((PyObject *)&_Py_ID(__warningregistry__)); in _PyStaticObjects_CheckRefcnt()
683 string = &_Py_ID(__warningregistry__); in _PyUnicode_InitStaticStrings()
294 v.__warningregistry__ = {}
471 module name and the registry (which should be the ``__warningregistry__``
1432 def __warningregistry__(self): member in Test_TestCase.testAssertWarnsModifySysModules.Foo
449 Python/_warnings.c:setup_context():PyId___warningregistry__ _Py_IDENTIFIER(__warningregistry__)
2507 ``RuntimeException`` when accessing a module's ``__warningregistry__``