Home
last modified time | relevance | path

Searched refs:warn_explicit (Results 1 - 4 of 4) sorted by relevance

/third_party/python/Lib/test/test_warnings/
H A D__init__.py92 target_api = ["warn", "warn_explicit", "showwarning",
224 self.module.warn_explicit(message, UserWarning, "__init__.py",
228 self.module.warn_explicit(message, UserWarning, "__init__.py",
231 self.module.warn_explicit(message, UserWarning, "test_warnings2.py",
241 self.module.warn_explicit('msg', UserWarning, "filename", 42,
247 self.module.warn_explicit('msg', UserWarning, "filename", 42,
252 self.module.warn_explicit('msg', UserWarning, "filename", 42,
325 self.module.warn_explicit(UserWarning("b"), None, "f.py", 42)
404 """Test warnings.warn() and warnings.warn_explicit()."""
504 self.module.warn_explicit("tex
[all...]
/third_party/python/Lib/
H A Dwarnings.py6 __all__ = ["warn", "warn_explicit", "showwarning",
324 warn_explicit(message, category, filename, lineno, module, registry,
327 def warn_explicit(message, category, filename, lineno, function
550 warn, warn_explicit, _filters_mutated)
H A Dtimeit.py368 warnings.warn_explicit("The test results are likely unreliable. "
/third_party/python/Python/
H A D_warnings.c625 warn_explicit(PyThreadState *tstate, PyObject *category, PyObject *message, in warn_explicit() function
947 res = warn_explicit(tstate, category, message, filename, lineno, module, registry, in do_warn()
1050 if (!PyArg_ParseTupleAndKeywords(args, kwds, "OOUi|OOOO:warn_explicit", in warnings_warn_explicit()
1073 returned = warn_explicit(tstate, category, message, filename, lineno, module, in warnings_warn_explicit()
1220 res = warn_explicit(tstate, category, message, filename, lineno, in PyErr_WarnExplicitObject()
1286 res = warn_explicit(tstate, category, message, filename, lineno, in PyErr_WarnExplicitFormat()
1355 {"warn_explicit", _PyCFunction_CAST(warnings_warn_explicit),

Completed in 6 milliseconds