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

Method test_indent_nomargin_all_lines

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

Source from the content-addressed store, hash-verified

974 self.assertEqual(indent(text, '', None), text)
975
976 def test_indent_nomargin_all_lines(self):
977 # The same as test_indent_nomargin, but using the optional
978 # predicate argument
979 predicate = lambda line: True
980 for text in self.CASES:
981 self.assertEqual(indent(text, '', predicate), text)
982
983 def test_indent_no_lines(self):
984 # Explicitly skip indenting any lines

Callers

nothing calls this directly

Calls 2

indentFunction · 0.90
assertEqualMethod · 0.45

Tested by

no test coverage detected