Home
last modified time | relevance | path

Searched refs:formatwarning (Results 1 – 19 of 19) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_warnings.py638 self.assertEqual(expect, self.module.formatwarning(message,
644 self.assertEqual(expect, self.module.formatwarning(message,
657 self.assertEqual(expect, self.module.formatwarning(message,
663 self.assertEqual(expect, self.module.formatwarning(message,
678 self.assertEqual(expect, self.module.formatwarning(message,
683 self.assertEqual(expect, self.module.formatwarning(message,
696 self.assertEqual(expect, self.module.formatwarning(message,
701 self.assertEqual(expect, self.module.formatwarning(message,
711 expect = self.module.formatwarning(message, category, file_name,
718 expect = self.module.formatwarning(message, category, file_name,
/external/python/cpython3/Lib/
Dwarnings.py15 def formatwarning(message, category, filename, lineno, line=None): function
115 _formatwarning_orig = formatwarning
120 fw = formatwarning
/external/bcc/src/python/bcc/
Dutils.py84 log.write(warnings.formatwarning(message, category, filename, lineno, line))
/external/python/cpython2/Lib/
Dwarnings.py33 file.write(formatwarning(message, category, filename, lineno, line))
40 def formatwarning(message, category, filename, lineno, line=None): function
/external/python/cpython2/Doc/library/
Dwarnings.rst43 message by calling :func:`formatwarning`, which is also available for use by
344 ``formatwarning(message, category, filename, lineno, line)`` and writes the
356 .. function:: formatwarning(message, category, filename, lineno[, line])
361 :func:`formatwarning` will try to read the line specified by *filename* and
Dlogging.rst1004 formatted using :func:`warnings.formatwarning` and the resulting string
/external/python/cpython3/Lib/test/test_warnings/
D__init__.py913 self.assertEqual(expect, self.module.formatwarning(message,
919 self.assertEqual(expect, self.module.formatwarning(message,
929 expect = self.module.formatwarning(message, category, file_name,
936 expect = self.module.formatwarning(message, category, file_name,
/external/python/cpython3/Doc/library/
Dwarnings.rst40 message by calling :func:`formatwarning`, which is also available for use by
446 ``formatwarning(message, category, filename, lineno, line)`` and writes the
454 .. function:: formatwarning(message, category, filename, lineno, line=None)
459 :func:`formatwarning` will try to read the line specified by *filename* and
Dlogging.rst1254 formatted using :func:`warnings.formatwarning` and the resulting string
/external/swiftshader/third_party/llvm-7.0/llvm/utils/
Dupdate_mca_test_checks.py54 file.write(warnings.formatwarning(message, category, filename, lineno, line))
/external/python/cpython2/Misc/NEWS.d/
D2.6a3.rst97 the ``showarning()`` and ``formatwarning()`` gain an optional 'line'
/external/python/cpython2/Lib/logging/
D__init__.py1731 s = warnings.formatwarning(message, category, filename, lineno, line)
/external/python/cpython3/Lib/logging/
D__init__.py2094 s = warnings.formatwarning(message, category, filename, lineno, line)
/external/python/cpython3/Misc/NEWS.d/
D3.7.3rc1.rst202 Ensure custom :func:`warnings.formatwarning` function can receive `line` as
D3.5.2rc1.rst915 :func:`warnings.formatwarning` now catches exceptions on
D3.6.0a1.rst1444 :func:`warnings.formatwarning` now catches exceptions when calling
/external/autotest/client/common_lib/
Dutils.py103 logging.warning(warnings.formatwarning(message, category, filename, lineno,
/external/python/cpython2/Doc/whatsnew/
D2.6.rst2599 * The :mod:`warnings` module's :func:`formatwarning` and :func:`showwarning`
/external/python/cpython3/Doc/whatsnew/
D2.6.rst2603 * The :mod:`warnings` module's :func:`formatwarning` and :func:`showwarning`