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

Method setUpClass

Lib/idlelib/idle_test/test_editmenu.py:18–27  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

16 '''
17 @classmethod
18 def setUpClass(cls):
19 cls.root = root = tk.Tk()
20 cls.root.withdraw()
21 pyshell.fix_x11_paste(root)
22 cls.text = tk.Text(root)
23 cls.entry = tk.Entry(root)
24 cls.tentry = ttk.Entry(root)
25 cls.spin = tk.Spinbox(root)
26 root.clipboard_clear()
27 root.clipboard_append('two')
28
29 @classmethod
30 def tearDownClass(cls):

Callers

nothing calls this directly

Calls 2

clipboard_clearMethod · 0.80
clipboard_appendMethod · 0.80

Tested by

no test coverage detected