Home
last modified time | relevance | path

Searched refs:standard_to_absl (Results 1 – 2 of 2) sorted by relevance

/external/python/absl-py/absl/logging/tests/
Dconverter_test.py61 absl_logging.DEBUG, converter.standard_to_absl(logging.DEBUG))
63 absl_logging.INFO, converter.standard_to_absl(logging.INFO))
65 absl_logging.WARN, converter.standard_to_absl(logging.WARN))
67 absl_logging.WARN, converter.standard_to_absl(logging.WARNING))
69 absl_logging.ERROR, converter.standard_to_absl(logging.ERROR))
71 absl_logging.FATAL, converter.standard_to_absl(logging.FATAL))
73 absl_logging.FATAL, converter.standard_to_absl(logging.CRITICAL))
75 self.assertEqual(2, converter.standard_to_absl(logging.DEBUG - 1))
76 self.assertEqual(3, converter.standard_to_absl(logging.DEBUG - 2))
79 converter.standard_to_absl('')
/external/python/absl-py/absl/logging/
Dconverter.py171 def standard_to_absl(level): function
214 return absl_to_cpp(standard_to_absl(level))