Searched refs:_warnings (Results 1 - 11 of 11) sorted by relevance
/third_party/python/Lib/distutils/tests/ |
H A D | test_check.py | 46 self.assertEqual(cmd._warnings, 2) 55 self.assertEqual(cmd._warnings, 0) 63 self.assertEqual(cmd._warnings, 0) 72 self.assertEqual(cmd._warnings, 0) 96 self.assertEqual(cmd._warnings, 1) 109 self.assertEqual(cmd._warnings, 0) 114 self.assertEqual(cmd._warnings, 0)
|
/third_party/python/Lib/test/support/ |
H A D | warnings_helper.py | 67 self._warnings = warnings_list 71 if len(self._warnings) > self._last: 72 return getattr(self._warnings[-1], attr) 79 return self._warnings[self._last:] 82 self._last = len(self._warnings)
|
/third_party/python/Lib/distutils/command/ |
H A D | check.py | 53 self._warnings = 0 60 self._warnings += 1 76 if self.strict and self._warnings > 0:
|
/third_party/python/Lib/importlib/ |
H A D | _bootstrap.py | 33 _warnings = None variable 283 _warnings.warn(msg, DeprecationWarning) 618 _warnings.warn(msg, ImportWarning) 673 _warnings.warn(msg, ImportWarning) 744 _warnings.warn("BuiltinImporter.module_repr() is deprecated and " 764 _warnings.warn("BuiltinImporter.find_module() is deprecated and " 822 _warnings.warn("FrozenImporter.module_repr() is deprecated and " 957 _warnings.warn("FrozenImporter.find_module() is deprecated and " 1047 _warnings.warn(msg, ImportWarning) 1063 _warnings [all...] |
H A D | _bootstrap_external.py | 29 import _warnings namespace 456 _warnings.warn('the debug_override parameter is deprecated; use ' 629 _warnings.warn("find_module() is deprecated and " 638 _warnings.warn(msg.format(portions[0]), ImportWarning) 908 _warnings.warn("WindowsRegistryFinder.find_module() is deprecated and " 1347 _warnings.warn("NamespaceLoader.module_repr() is deprecated and " 1412 _warnings.warn('sys.path_hooks is empty', ImportWarning) 1450 _warnings.warn(msg, ImportWarning) 1455 _warnings.warn(msg, ImportWarning) 1528 _warnings [all...] |
/third_party/python/Lib/ |
H A D | hmac.py | 6 import warnings as _warnings namespace 87 _warnings.warn('block_size of %d seems too small; using our ' 92 _warnings.warn('No block_size attribute on given digest object; '
|
H A D | zipimport.py | 25 import _warnings # For warn() namespace 121 _warnings.warn("zipimporter.find_loader() is deprecated and slated for " 157 _warnings.warn("zipimporter.find_module() is deprecated and slated for " 282 _warnings.warn(msg, DeprecationWarning)
|
H A D | tempfile.py | 40 import warnings as _warnings namespace 748 _warnings.warn( 904 _warnings.warn(warn_message, ResourceWarning)
|
H A D | warnings.py | 286 # Code typically replaced by _warnings 549 from _warnings import (filters, _defaultaction, _onceregistry,
|
/third_party/python/Lib/test/ |
H A D | test_getpath.py | 891 self._warnings = [] 981 self._warnings.append(message) 1067 self._warnings = [] 1153 self._warnings.append(message)
|
/third_party/python/Lib/asyncio/ |
H A D | sslproto.py | 116 def __del__(self, _warnings=warnings): 119 _warnings.warn(
|
Completed in 11 milliseconds