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

Method setUp

Lib/idlelib/idle_test/test_history.py:77–83  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

75 cls.root.withdraw()
76
77 def setUp(self):
78 self.text = text = TextWrapper(self.root)
79 text.insert('1.0', ">>> ")
80 text.mark_set('iomark', '1.4')
81 text.mark_gravity('iomark', 'left')
82 self.history = History(text)
83 self.history.history = [line1, line2]
84
85 @classmethod
86 def tearDownClass(cls):

Callers

nothing calls this directly

Calls 5

HistoryClass · 0.90
mark_gravityMethod · 0.80
TextWrapperClass · 0.70
insertMethod · 0.45
mark_setMethod · 0.45

Tested by

no test coverage detected