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

Method test_empty_string

Lib/test/test_textwrap.py:68–71  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

66 self.check_wrap(text, 80, [text])
67
68 def test_empty_string(self):
69 # Check that wrapping the empty string returns an empty list.
70 self.check_wrap("", 6, [])
71 self.check_wrap("", 6, [], drop_whitespace=False)
72
73 def test_empty_string_with_initial_indent(self):
74 # Check that the empty string is not indented.

Callers

nothing calls this directly

Calls 1

check_wrapMethod · 0.80

Tested by

no test coverage detected