Searched refs:formatwarning (Results 1 – 8 of 8) sorted by relevance
/external/python/cpython2/Lib/test/ |
D | test_warnings.py | 602 self.assertEqual(expect, self.module.formatwarning(message, 608 self.assertEqual(expect, self.module.formatwarning(message, 621 self.assertEqual(expect, self.module.formatwarning(message, 627 self.assertEqual(expect, self.module.formatwarning(message, 642 self.assertEqual(expect, self.module.formatwarning(message, 647 self.assertEqual(expect, self.module.formatwarning(message, 660 self.assertEqual(expect, self.module.formatwarning(message, 665 self.assertEqual(expect, self.module.formatwarning(message, 675 expect = self.module.formatwarning(message, category, file_name, 682 expect = self.module.formatwarning(message, category, file_name,
|
/external/python/cpython2/Lib/ |
D | warnings.py | 33 file.write(formatwarning(message, category, filename, lineno, line)) 40 def formatwarning(message, category, filename, lineno, line=None): function
|
/external/python/cpython2/Doc/library/ |
D | warnings.rst | 43 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
|
D | logging.rst | 1004 formatted using :func:`warnings.formatwarning` and the resulting string
|
/external/python/cpython2/Lib/logging/ |
D | __init__.py | 1724 s = warnings.formatwarning(message, category, filename, lineno, line)
|
/external/autotest/client/common_lib/ |
D | utils.py | 98 logging.warning(warnings.formatwarning(message, category, filename, lineno,
|
/external/python/cpython2/Doc/whatsnew/ |
D | 2.6.rst | 2599 * The :mod:`warnings` module's :func:`formatwarning` and :func:`showwarning`
|
/external/python/cpython2/Misc/ |
D | NEWS | 10058 and ``formatwarning()`` gain an optional 'line' argument which is
|