MCPcopy Create free account
hub / github.com/EasyIME/PIME / test_basic_logging

Method test_basic_logging

python/python3/tornado/test/log_test.py:84–86  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

82 raise Exception("output didn't match regex: %r" % line)
83
84 def test_basic_logging(self):
85 self.logger.error("foo")
86 self.assertEqual(self.get_output(), b"foo")
87
88 def test_bytes_logging(self):
89 with ignore_bytes_warning():

Callers

nothing calls this directly

Calls 2

get_outputMethod · 0.95
errorMethod · 0.80

Tested by

no test coverage detected