MCPcopy Create free account
hub / github.com/Delgan/loguru / test_template_string_without_string

Function test_template_string_without_string

tests/test_template_strings.py:86–92  ·  view source on GitHub ↗
(writer)

Source from the content-addressed store, hash-verified

84
85@pytest.mark.skipif(sys.version_info < (3, 14), reason="Template Strings not supported")
86def test_template_string_without_string(writer):
87 logger.add(writer, format="{message}", colorize=False)
88
89 logger.info(Template(Interpolation(2**8)))
90
91 result = writer.read()
92 assert result == "256\n"
93
94
95@pytest.mark.skipif(sys.version_info < (3, 14), reason="Template Strings not supported")

Callers

nothing calls this directly

Calls 3

addMethod · 0.80
infoMethod · 0.80
readMethod · 0.45

Tested by

no test coverage detected