MCPcopy
hub / github.com/psf/black / test_one_empty_line

Method test_one_empty_line

tests/test_black.py:150–153  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

148
149 @patch("black.dump_to_file", dump_to_stderr)
150 def test_one_empty_line(self) -> None:
151 for nl in ["\n", "\r\n"]:
152 source = expected = nl
153 assert_format(source, expected)
154
155 def test_one_empty_line_ff(self) -> None:
156 for nl in ["\n", "\r\n"]:

Callers

nothing calls this directly

Calls 1

assert_formatFunction · 0.90

Tested by

no test coverage detected