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

Method test_count_empty

Lib/idlelib/idle_test/test_squeezer.py:42–44  ·  view source on GitHub ↗

Test with an empty string.

(self)

Source from the content-addressed store, hash-verified

40 )
41
42 def test_count_empty(self):
43 """Test with an empty string."""
44 self.assertEqual(count_lines_with_wrapping(""), 0)
45
46 def test_count_begins_with_empty_line(self):
47 """Test with a string which begins with a newline."""

Callers

nothing calls this directly

Calls 2

assertEqualMethod · 0.45

Tested by

no test coverage detected