Home
last modified time | relevance | path

Searched refs:_warnings (Results 1 – 25 of 28) sorted by relevance

12

/external/python/cpython3/Lib/distutils/tests/
Dtest_check.py37 self.assertEqual(cmd._warnings, 2)
46 self.assertEqual(cmd._warnings, 0)
54 self.assertEqual(cmd._warnings, 0)
63 self.assertEqual(cmd._warnings, 0)
87 self.assertEqual(cmd._warnings, 1)
100 self.assertEqual(cmd._warnings, 0)
/external/python/cpython2/Lib/distutils/tests/
Dtest_check.py38 self.assertEqual(cmd._warnings, 2)
47 self.assertEqual(cmd._warnings, 0)
55 self.assertEqual(cmd._warnings, 0)
64 self.assertEqual(cmd._warnings, 0)
88 self.assertEqual(cmd._warnings, 1)
101 self.assertEqual(cmd._warnings, 0)
/external/python/cpython3/Lib/
Dhmac.py6 import warnings as _warnings namespace
52 _warnings.warn("HMAC() without an explicit digestmod argument "
72 _warnings.warn('block_size of %d seems too small; using our '
77 _warnings.warn('No block_size attribute on given digest object; '
Dtempfile.py40 import warnings as _warnings namespace
796 _warnings.warn(warn_message, ResourceWarning)
Dwarnings.py534 from _warnings import (filters, _defaultaction, _onceregistry,
/external/python/cpython2/Lib/
Dhmac.py6 import warnings as _warnings namespace
61 _warnings.warn('block_size of %d seems too small; using our '
66 _warnings.warn('No block_size attribute on given digest object; '
Dwarnings.py397 from _warnings import (filters, default_action, once_registry,
/external/python/cpython3/Lib/distutils/command/
Dcheck.py54 self._warnings = 0
61 self._warnings += 1
77 if self.strict and self._warnings > 0:
/external/python/cpython2/Lib/distutils/command/
Dcheck.py56 self._warnings = 0
63 self._warnings += 1
79 if self.strict and self._warnings > 0:
/external/python/cpython3/Modules/
Dconfig.c.in54 /* This lives in _warnings.c */
55 {"_warnings", _PyWarnings_Init},
/external/python/cpython2/Modules/
Dconfig.c.in55 /* This lives in _warnings.c */
56 {"_warnings", _PyWarnings_Init},
/external/python/cpython3/Lib/importlib/
D_bootstrap.py891 _warnings.warn('sys.meta_path is empty', ImportWarning)
1058 _warnings.warn("__package__ != __spec__.parent "
1065 _warnings.warn("can't resolve package from __spec__ or __package__, "
D_bootstrap_external.py290 _warnings.warn('the debug_override parameter is deprecated; use '
434 _warnings.warn(msg.format(portions[0]), ImportWarning)
1194 _warnings.warn('sys.path_hooks is empty', ImportWarning)
/external/python/cpython2/Lib/test/support/
D__init__.py910 self._warnings = warnings_list
914 if len(self._warnings) > self._last:
915 return getattr(self._warnings[-1], attr)
922 return self._warnings[self._last:]
925 self._last = len(self._warnings)
/external/autotest/scheduler/
Ddrone_utility_unittest.py100 got, _warnings = process_refresher(self._tempdir.name)
/external/python/cpython3/Lib/test/support/
D__init__.py1167 self._warnings = warnings_list
1171 if len(self._warnings) > self._last:
1172 return getattr(self._warnings[-1], attr)
1179 return self._warnings[self._last:]
1182 self._last = len(self._warnings)
/external/u-boot/tools/buildman/
Dkconfiglib.py209 self._warnings = []
410 self._warnings = []
464 return self._warnings
1804 self._warnings.append(msg)
/external/python/cpython2/Doc/library/
Dtest.rst435 py_warnings = import_fresh_module('warnings', blocked=['_warnings'])
436 c_warnings = import_fresh_module('warnings', fresh=['_warnings'])
/external/python/cpython3/Misc/NEWS.d/
D3.7.0a2.rst108 Fix an assertion failure in `_warnings.warn()` in case of a bad ``__name__``
D3.6.4rc1.rst162 Fix an assertion failure in `_warnings.warn()` in case of a bad ``__name__``
/external/python/cpython2/
DAndroid.bp172 "Python/_warnings.c",
DMakefile.pre.in297 Python/_warnings.o \
/external/python/cpython2/Misc/NEWS.d/
D2.7.9rc1.rst762 Correct reference counting error in the initialization of the _warnings
/external/python/cpython2/PC/VC6/
Dpythoncore.dsp184 SOURCE=..\..\Python\_warnings.c
/external/python/cpython3/Doc/library/
Dtest.rst997 py_warnings = import_fresh_module('warnings', blocked=['_warnings'])
998 c_warnings = import_fresh_module('warnings', fresh=['_warnings'])

12