Home
last modified time | relevance | path

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

/aosp_15_r20/external/python/absl-py/absl/logging/tests/
Dlogging_test.py50 logging.get_absl_handler().python_handler.formatter,
136 self.python_handler = logging.PythonHandler()
144 with mock.patch.object(self.python_handler, 'start_logging_to_file'):
145 self.python_handler.use_absl_log_file()
146 self.python_handler.start_logging_to_file.assert_called_once_with(
151 self.python_handler.stream = None
152 self.python_handler.use_absl_log_file()
153 self.assertEqual(sys.stderr, self.python_handler.stream)
174 self.python_handler.start_logging_to_file()
179 self.python_handler.start_logging_to_file()
[all …]
Dlogging_functional_test_helper.py216 logging.get_absl_handler().python_handler.stream = log_file
/aosp_15_r20/external/python/absl-py/absl/logging/
D__init__.py674 stream = get_absl_handler().python_handler.stream
1019 def python_handler(self): member in ABSLHandler
1048 _absl_handler.python_handler.stream == sys.stderr):
D__init__.pyi213 def python_handler(self) -> PythonHandler: