Home
last modified time | relevance | path

Searched refs:warning_class (Results 1 – 4 of 4) sorted by relevance

/external/python/cryptography/src/cryptography/
Dutils.py124 def __init__(self, value, message, warning_class): argument
127 self.warning_class = warning_class
137 warnings.warn(obj.message, obj.warning_class, stacklevel=2)
147 warnings.warn(obj.message, obj.warning_class, stacklevel=2)
155 def deprecated(value, module_name, message, warning_class): argument
159 return _DeprecatedValue(value, message, warning_class)
/external/python/cryptography/tests/
Dtest_warnings.py24 warning_class=DeprecationWarning
30 warning_class=PendingDeprecationWarning,
58 warning_class=DeprecationWarning
64 warning_class=PendingDeprecationWarning,
/external/python/cpython2/Lib/test/
Dtest_warnings.py558 path, line, warning_class, message = first_line_parts
561 self.assertEqual(warning_class, ' ' + UserWarning.__name__)
/external/python/cpython3/Lib/test/test_warnings/
D__init__.py753 path, line, warning_class, message = first_line_parts
756 self.assertEqual(warning_class, ' ' + UserWarning.__name__)