Home
last modified time | relevance | path

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/
Dfixdiv.py158 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/
Dtest_py3kwarn.py4 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 …]
Dtest_global.py5 import warnings
47 with warnings.catch_warnings():
48 warnings.filterwarnings("error", module="<test string>")
Dwarning_tests.py3 import warnings
9 warnings.warn(message, stacklevel=stacklevel)
Dtest_syntax.py487 import warnings
532 warnings.filterwarnings(action='ignore', category=SyntaxWarning)
534 warnings.filters.pop(0)
Dtest_pep247.py6 import warnings
7 warnings.filterwarnings('ignore', 'the md5 module is deprecated.*',
9 warnings.filterwarnings('ignore', 'the sha module is deprecated.*',
Dtest_sha.py7 import warnings
8 warnings.filterwarnings("ignore", "the sha module is deprecated.*",
Dtest_userstring.py8 import warnings
138 with warnings.catch_warnings():
139 warnings.filterwarnings("ignore", ".*MutableString has been removed",
141 warnings.filterwarnings("ignore",
Dtest_md5.py2 import warnings
3 warnings.filterwarnings("ignore", "the md5 module is deprecated.*",
Dtest_pep352.py4 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/
Dcommands.py21 from warnings import warnpy3k
39 import warnings
40 warnings.warn("commands.getstatus() is deprecated", DeprecationWarning, 2)
Dsre.py5 import warnings
6 warnings.warn("The sre module is deprecated, please import re.",
Dmd5.py6 import warnings
7 warnings.warn("the md5 module is deprecated; use hashlib instead",
Dsha.py6 import warnings
7 warnings.warn("the sha module is deprecated; use the hashlib module instead",
Ddbhash.py4 import warnings
5 warnings.warnpy3k("in 3.x, the dbhash module has been removed", stacklevel=2)
Dplistlib.py65 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
DMimeWriter.py17 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/
Dsre.py5 import warnings
6 warnings.warn("The sre module is deprecated, please import re.",
Dmd5.py6 import warnings
7 warnings.warn("the md5 module is deprecated; use hashlib instead",
Dsha.py6 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__.py24 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/
Dextension.py12 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/
Dtest_sdist.py25 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)
Dsupport.py6 import warnings
14 with warnings.catch_warnings():
15 warnings.simplefilter("ignore")
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/email/
Dparser.py9 import warnings
50 warnings.warn("'strict' argument is deprecated (and ignored)",

1234567