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

Method test_fill

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

Source from the content-addressed store, hash-verified

722
723
724 def test_fill(self):
725 # Test the fill() method
726
727 expect = '''\
728This paragraph will be filled, first
729without any indentation, and then with
730some (including a hanging indent).'''
731
732 result = fill(self.text, 40)
733 self.check(result, expect)
734
735
736 def test_initial_indent(self):

Callers

nothing calls this directly

Calls 2

fillFunction · 0.90
checkMethod · 0.45

Tested by

no test coverage detected