Searched refs:showwarning (Results 1 - 5 of 5) sorted by relevance
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
H A D | warnings.py | 10 __all__ = ["warn", "warn_explicit", "showwarning",
38 showwarning = _show_warning
variable 282 showwarning(message, category, filename, lineno)
287 """Holds the result of a single showwarning() call."""
311 custom implementation of warnings.showwarning() and be appended to a list
314 mirror the arguments to showwarning().
349 self._showwarning = self._module.showwarning
352 def showwarning(*args, **kwargs):
function in function:catch_warnings.__enter__ 354 self._module.showwarning = showwarning
[all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
H A D | warnings.py | 10 __all__ = ["warn", "showwarning", "formatwarning", "filterwarnings",
34 showwarning = _show_warning
variable 278 showwarning(message, category, filename, lineno)
283 """Holds the result of a single showwarning() call."""
307 custom implementation of warnings.showwarning() and be appended to a list
310 mirror the arguments to showwarning().
345 self._showwarning = self._module.showwarning
348 def showwarning(*args, **kwargs):
function in function:catch_warnings.__enter__ 350 self._module.showwarning = showwarning
[all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
H A D | test_warnings.py | 490 # Test that showwarning() missing is okay.
491 text = 'del showwarning test'
494 del self.module.showwarning
503 old_showwarning = self.module.showwarning
504 self.module.showwarning = 23
508 self.module.showwarning = old_showwarning
515 del self.module.showwarning
566 self.module.showwarning(message, category, file_name, line_num,
574 self.module.showwarning(message, category, file_name, line_num,
592 orig_showwarning = wmod.showwarning
[all...] |
H A D | test_logging.py | 1049 warnings.showwarning("Explicit", UserWarning, "dummy.py", 42,
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/logging/ |
H A D | __init__.py | 1679 delegate to the original warnings implementation of showwarning. Otherwise,
1702 _warnings_showwarning = warnings.showwarning
1703 warnings.showwarning = _showwarning
1706 warnings.showwarning = _warnings_showwarning
|
Completed in 906 milliseconds