Searched refs:warnings (Results 1 – 25 of 167) sorted by relevance
1234567
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/ |
D | fixdiv.py | 158 warnings = readwarnings(args[0]) 159 if warnings is None: 161 files = warnings.keys() 168 x = process(filename, warnings[filename]) 187 warnings = {} 198 list = warnings.get(filename) 200 warnings[filename] = list = [] 203 return warnings 229 warnings = [] 231 warnings.append(list[index]) [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_py3kwarn.py | 4 import warnings 40 self.assertEqual(len(recorder.warnings), 0) 254 self.assertEqual(len(w.warnings), 0) 258 self.assertEqual(len(w.warnings), 1) 265 self.assertEqual(len(w.warnings), 1) 271 self.assertEqual(len(w.warnings), 0) 279 self.assertEqual(len(w.warnings), 0) 283 self.assertEqual(len(w.warnings), 1) 290 self.assertEqual(len(w.warnings), 1) 296 self.assertEqual(len(w.warnings), 0) [all …]
|
D | test_global.py | 5 import warnings 47 with warnings.catch_warnings(): 48 warnings.filterwarnings("error", module="<test string>")
|
D | warning_tests.py | 3 import warnings 9 warnings.warn(message, stacklevel=stacklevel)
|
D | test_syntax.py | 487 import warnings 532 warnings.filterwarnings(action='ignore', category=SyntaxWarning) 534 warnings.filters.pop(0)
|
D | test_pep247.py | 6 import warnings 7 warnings.filterwarnings('ignore', 'the md5 module is deprecated.*', 9 warnings.filterwarnings('ignore', 'the sha module is deprecated.*',
|
D | test_sha.py | 7 import warnings 8 warnings.filterwarnings("ignore", "the sha module is deprecated.*",
|
D | test_userstring.py | 8 import warnings 138 with warnings.catch_warnings(): 139 warnings.filterwarnings("ignore", ".*MutableString has been removed", 141 warnings.filterwarnings("ignore",
|
D | test_md5.py | 2 import warnings 3 warnings.filterwarnings("ignore", "the md5 module is deprecated.*",
|
D | test_pep352.py | 4 import warnings 214 with warnings.catch_warnings(): 215 warnings.resetwarnings() 216 warnings.filterwarnings("error")
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | commands.py | 21 from warnings import warnpy3k 39 import warnings 40 warnings.warn("commands.getstatus() is deprecated", DeprecationWarning, 2)
|
D | sre.py | 5 import warnings 6 warnings.warn("The sre module is deprecated, please import re.",
|
D | md5.py | 6 import warnings 7 warnings.warn("the md5 module is deprecated; use hashlib instead",
|
D | sha.py | 6 import warnings 7 warnings.warn("the sha module is deprecated; use the hashlib module instead",
|
D | dbhash.py | 4 import warnings 5 warnings.warnpy3k("in 3.x, the dbhash module has been removed", stacklevel=2)
|
D | plistlib.py | 65 import warnings 117 warnings.warnpy3k("In 3.x, readPlistFromResource is removed.", 133 warnings.warnpy3k("In 3.x, writePlistToResource is removed.", stacklevel=2) 302 from warnings import warn 308 from warnings import warn 318 from warnings import warn 325 from warnings import warn 338 from warnings import warn
|
D | MimeWriter.py | 17 import warnings 19 warnings.warn("the MimeWriter module is deprecated; use the email package instead",
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
D | sre.py | 5 import warnings 6 warnings.warn("The sre module is deprecated, please import re.",
|
D | md5.py | 6 import warnings 7 warnings.warn("the md5 module is deprecated; use hashlib instead",
|
D | sha.py | 6 import warnings 7 warnings.warn("the sha module is deprecated; use the hashlib module instead",
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/compiler/ |
D | __init__.py | 24 import warnings 26 warnings.warn("The compiler package is deprecated and removed in Python 3.x.",
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/ |
D | extension.py | 12 import warnings 14 warnings = None variable 132 if warnings is not None: 133 warnings.warn(msg)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/ |
D | test_sdist.py | 25 import warnings 249 warnings = self.get_logs(WARN) 250 self.assertEqual(len(warnings), 2) 258 warnings = self.get_logs(WARN) 259 self.assertEqual(len(warnings), 0) 265 warnings.simplefilter("always") 267 self.assertEqual(len(w.warnings), 1)
|
D | support.py | 6 import warnings 14 with warnings.catch_warnings(): 15 warnings.simplefilter("ignore")
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/email/ |
D | parser.py | 9 import warnings 50 warnings.warn("'strict' argument is deprecated (and ignored)",
|
1234567