Home
last modified time | relevance | path

Searched refs:showwarning (Results 1 – 25 of 35) sorted by relevance

12

/external/python/cpython2/Lib/idlelib/idle_test/
Dtest_warning.py14 showwarning = warnings.showwarning variable
17 running_in_idle = 'idle' in showwarning.__name__
36 self.assertIs(warnings.showwarning, showwarning)
38 self.assertIs(warnings.showwarning, run.idle_showwarning_subproc)
40 self.assertIs(warnings.showwarning, showwarning)
53 self.assertIs(warnings.showwarning, showwarning)
55 self.assertIs(warnings.showwarning, shell.idle_showwarning)
57 self.assertIs(warnings.showwarning, showwarning)
Dmock_tk.py86 showwarning = Mbox_func() # None variable in Mbox
/external/python/cpython3/Lib/idlelib/idle_test/
Dtest_warning.py15 showwarning = warnings.showwarning variable
18 running_in_idle = 'idle' in showwarning.__name__
35 self.assertIs(warnings.showwarning, showwarning)
37 self.assertIs(warnings.showwarning, run.idle_showwarning_subproc)
39 self.assertIs(warnings.showwarning, showwarning)
53 self.assertIs(warnings.showwarning, showwarning)
55 self.assertIs(warnings.showwarning, shell.idle_showwarning)
57 self.assertIs(warnings.showwarning, showwarning)
Dmock_tk.py86 showwarning = Mbox_func() # None variable in Mbox
/external/python/cpython2/Lib/
Dwarnings.py38 showwarning = _show_warning variable
300 showwarning(message, category, filename, lineno)
370 self._showwarning = self._module.showwarning
373 def showwarning(*args, **kwargs): function
375 self._module.showwarning = showwarning
384 self._module.showwarning = self._showwarning
/external/python/dateutil/dateutil/test/
D_common.py27 if self._showwarning is not self._module.showwarning:
28 super_showwarning = self._module.showwarning
32 def showwarning(*args, **kwargs): function
38 self._module.showwarning = showwarning
/external/python/cpython2/Lib/test/
Dtest_warnings.py528 del self.module.showwarning
537 old_showwarning = self.module.showwarning
538 self.module.showwarning = 23
542 self.module.showwarning = old_showwarning
549 del self.module.showwarning
713 self.module.showwarning(message, category, file_name, line_num,
721 self.module.showwarning(message, category, file_name, line_num,
739 orig_showwarning = wmod.showwarning
742 wmod.filters = wmod.showwarning = object()
744 self.assertTrue(wmod.showwarning is orig_showwarning)
[all …]
/external/python/cpython3/Lib/test/test_warnings/
D__init__.py748 del self.module.showwarning
773 self.module.showwarning = print
776 self.module.showwarning = 23
784 del self.module.showwarning
931 self.module.showwarning(message, category, file_name, line_num,
939 self.module.showwarning(message, category, file_name, line_num,
958 self.module.showwarning(message, category, file_name, line_num,
1023 orig_showwarning = wmod.showwarning
1026 wmod.filters = wmod.showwarning = object()
1028 self.assertIs(wmod.showwarning, orig_showwarning)
[all …]
/external/python/cpython3/Lib/
Dwarnings.py10 def showwarning(message, category, filename, lineno, file=None, line=None): function
94 _showwarning_orig = showwarning
99 sw = showwarning
481 self._showwarning = self._module.showwarning
488 self._module.showwarning = self._module._showwarning_orig
498 self._module.showwarning = self._showwarning
/external/python/cpython3/Lib/tkinter/
Dmessagebox.py85 def showwarning(title=None, message=None, **options): function
128 print("warning", showwarning("Spam", "Egg Warning"))
Dsimpledialog.py295 messagebox.showwarning(
303 messagebox.showwarning(
312 messagebox.showwarning(
/external/python/cpython2/Lib/lib-tk/
DtkMessageBox.py85 def showwarning(title=None, message=None, **options): function
128 print "warning", showwarning("Spam", "Egg Warning")
DtkSimpleDialog.py216 tkMessageBox.showwarning(
224 tkMessageBox.showwarning(
233 tkMessageBox.showwarning(
/external/python/cpython2/Lib/idlelib/
Drun.py48 _warnings_showwarning = warnings.showwarning
49 warnings.showwarning = idle_showwarning_subproc
52 warnings.showwarning = _warnings_showwarning
DPyShell.py93 _warnings_showwarning = warnings.showwarning
94 warnings.showwarning = idle_showwarning
97 warnings.showwarning = _warnings_showwarning
/external/python/cpython2/Doc/library/
Dwarnings.rst41 The printing of warning messages is done by calling :func:`showwarning`, which
242 results. The :func:`showwarning` function in the module is also restored to
341 .. function:: showwarning(message, category, filename, lineno[, file[, line]])
347 ``warnings.showwarning``.
349 message; if *line* is not supplied, :func:`showwarning` will
402 and the :func:`showwarning` function.
406 :func:`showwarning` function (which also suppresses output to ``sys.stdout``).
408 :func:`showwarning`.
419 :func:`showwarning` function and internal list of filter
/external/python/cpython3/Doc/library/
Dwarnings.rst38 The printing of warning messages is done by calling :func:`showwarning`, which
348 results. The :func:`showwarning` function in the module is also restored to
443 .. function:: showwarning(message, category, filename, lineno, file=None, line=None)
448 this function with any callable by assigning to ``warnings.showwarning``.
450 message; if *line* is not supplied, :func:`showwarning` will
497 and the :func:`showwarning` function.
501 :func:`showwarning` function (which also suppresses output to ``sys.stdout``).
503 :func:`showwarning`.
514 :func:`showwarning` function and internal list of filter
/external/python/cpython3/Lib/idlelib/
Drun.py66 _warnings_showwarning = warnings.showwarning
67 warnings.showwarning = idle_showwarning_subproc
70 warnings.showwarning = _warnings_showwarning
Dpyshell.py92 _warnings_showwarning = warnings.showwarning
93 warnings.showwarning = idle_showwarning
96 warnings.showwarning = _warnings_showwarning
/external/python/cpython3/Lib/test/libregrtest/
Dsave_env.py245 return warnings.showwarning
247 warnings.showwarning = fxn
/external/python/cpython3/Misc/NEWS.d/
D3.6.0rc1.rst51 warnings.showwarning() if it was overriden inside the context manager.
/external/python/cpython2/Lib/logging/
D__init__.py1746 _warnings_showwarning = warnings.showwarning
1747 warnings.showwarning = _showwarning
1750 warnings.showwarning = _warnings_showwarning
/external/python/cpython3/Lib/logging/
D__init__.py2109 _warnings_showwarning = warnings.showwarning
2110 warnings.showwarning = _showwarning
2113 warnings.showwarning = _warnings_showwarning
/external/swiftshader/third_party/llvm-7.0/llvm/utils/
Dupdate_mca_test_checks.py501 warnings.showwarning = _showwarning
/external/python/cpython2/Misc/NEWS.d/
D2.6a3.rst99 Setting ``warnings.showwarning()`` to an implementation that lacks support

12