MCPcopy Index your code
hub / github.com/python/cpython / next_message

Method next_message

Lib/test/test_logging.py:187–191  ·  view source on GitHub ↗

Generate a message consisting solely of an auto-incrementing integer.

(self)

Source from the content-addressed store, hash-verified

185 self.fail("Remaining output at end of log stream:\n" + s)
186
187 def next_message(self):
188 """Generate a message consisting solely of an auto-incrementing
189 integer."""
190 self.message_num += 1
191 return "%d" % self.message_num
192
193
194class BuiltinLevelsTest(BaseTest):

Callers 15

test_filterMethod · 0.80
test_callable_filterMethod · 0.80
log_at_all_levelsMethod · 0.80
test_flushMethod · 0.80
test_flush_on_closeMethod · 0.80
test_config0_okMethod · 0.80
test_config1_okMethod · 0.80
test_config7_okMethod · 0.80
test_config0_okMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected