Home
last modified time | relevance | path

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

/external/autotest/client/common_lib/
Ddeprecation.py14 def warn(deprecated_name, stacklevel=3): argument
20 warnings.warn(APIDeprecationWarning(deprecated_name),
31 def __init__(self, deprecated_name): argument
36 super(APIDeprecationWarning, self).__init__(deprecated_name)
37 self._deprecated_name = deprecated_name
/external/python/pyfakefs/pyfakefs/
Ddeprecator.py55 def add(clss, func, deprecated_name): argument
65 @Deprecator(func.__name__, deprecated_name)
69 setattr(clss, deprecated_name, _old_function)
/external/tensorflow/tensorflow/python/util/
Ddeprecation.py132 def deprecated_alias(deprecated_name, name, func_or_class, warn_once=True): argument
216 _call_location(), deprecated_name, name)
235 _call_location(), deprecated_name, name)
/external/python/cpython3/Lib/unittest/test/
Dtest_case.py1705 for deprecated_name in deprecated_names:
1707 getattr(self, deprecated_name) # remove these in 3.x