/external/python/cpython3/Lib/test/test_warnings/data/ |
import_warning.py | 1 import warnings 3 warnings.warn('module-level warning', DeprecationWarning, stacklevel=2)
|
stacklevel.py | 1 # Helper module for testing the skipmodules argument of warnings.warn() 3 import warnings 9 warnings.warn(message, stacklevel=stacklevel)
|
/external/python/cpython2/Lib/plat-mac/Carbon/ |
__init__.py | 1 # Filter out warnings about signed/unsigned constants 2 import warnings 3 warnings.filterwarnings("ignore", "", FutureWarning, ".*Controls") 4 warnings.filterwarnings("ignore", "", FutureWarning, ".*MacTextEditor") 6 from warnings import warnpy3k
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
md5.py | 6 import warnings
7 warnings.warn("the md5 module is deprecated; use hashlib instead",
|
sre.py | 5 import warnings
6 warnings.warn("The sre module is deprecated, please import re.",
|
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/ |
md5.py | 6 import warnings
7 warnings.warn("the md5 module is deprecated; use hashlib instead",
|
sre.py | 5 import warnings
6 warnings.warn("The sre module is deprecated, please import re.",
|
sha.py | 6 import warnings
7 warnings.warn("the sha module is deprecated; use the hashlib module instead",
|
/external/python/cpython2/Lib/ |
md5.py | 6 import warnings 7 warnings.warn("the md5 module is deprecated; use hashlib instead",
|
sre.py | 5 import warnings 6 warnings.warn("The sre module is deprecated, please import re.",
|
sha.py | 6 import warnings 7 warnings.warn("the sha module is deprecated; use the hashlib module instead",
|
/external/python/cpython3/Lib/unittest/test/ |
_test_warnings.py | 4 This module has a number of tests that raise different kinds of warnings. 5 When the tests are run, the warnings are caught and their messages are printed 7 unittest.main to affect the behavior of warnings. 9 combinations of warnings args and -W flags and check that the output is correct. 15 import warnings 18 warnings.warn('rw', RuntimeWarning) 21 # unittest warnings will be printed at most once per type (max one message 36 # these warnings are normally silenced, but they are printed in unittest 38 warnings.warn('dw', DeprecationWarning) 39 warnings.warn('dw', DeprecationWarning [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
warning_tests.py | 1 # Helper module for testing the skipmodules argument of warnings.warn()
3 import warnings
9 warnings.warn(message, stacklevel=stacklevel)
|
/external/antlr/runtime/Perl5/t/ |
classes.t | 4 use warnings;
|
/external/python/cpython2/Lib/test/ |
warning_tests.py | 1 # Helper module for testing the skipmodules argument of warnings.warn() 3 import warnings 9 warnings.warn(message, stacklevel=stacklevel)
|
/external/autotest/client/bin/ |
base_utils.py | 10 import warnings 18 warnings.warn(deprecation.APIDeprecationWarning(__name__), stacklevel=2)
|
site_utils.py | 10 import warnings 18 warnings.warn(deprecation.APIDeprecationWarning(__name__), stacklevel=2)
|
/external/autotest/client/common_lib/ |
base_utils.py | 10 import warnings 18 warnings.warn(deprecation.APIDeprecationWarning(__name__), stacklevel=2)
|
site_utils.py | 10 import warnings 18 warnings.warn(deprecation.APIDeprecationWarning(__name__), stacklevel=2)
|
/external/python/cpython2/Lib/test/crashers/ |
warnings_del_crasher.py | 3 warnings module. The "_warnings" module tries to access attributes of the 4 "warnings" module (because of the API it has to support), but doing so 14 import warnings 20 warnings.warn("oh no something went wrong", UserWarning)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/compiler/ |
__init__.py | 24 import warnings
26 warnings.warn("The compiler package is deprecated and removed in Python 3.x.",
|
/external/antlr/runtime/Perl5/lib/ANTLR/Runtime/ |
EarlyExitException.pm | 4 use warnings;
|
/external/python/cpython2/Lib/compiler/ |
__init__.py | 24 import warnings 26 warnings.warn("The compiler package is deprecated and removed in Python 3.x.",
|
/external/python/cpython2/Lib/plat-irix5/ |
panelparser.py | 7 from warnings import warnpy3k
|