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

Method setUp

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

Source from the content-addressed store, hash-verified

573
574class LongWordTestCase (BaseTestCase):
575 def setUp(self):
576 self.wrapper = TextWrapper()
577 self.text = '''\
578Did you say "supercalifragilisticexpialidocious?"
579How *do* you spell that odd word, anyways?
580'''
581
582 def test_break_long(self):
583 # Wrap text with long words and lots of punctuation

Callers

nothing calls this directly

Calls 1

TextWrapperClass · 0.90

Tested by

no test coverage detected