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

Method test_initialize

Lib/test/test_tkinter/test_variables.py:109–113  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

107 self.root.setvar(b'var\x00name', "value")
108
109 def test_initialize(self):
110 v = Var(self.root)
111 self.assertFalse(v.side_effect)
112 v.set("value")
113 self.assertTrue(v.side_effect)
114
115 def test_trace_old(self):
116 if tcl_version >= (9, 0):

Callers

nothing calls this directly

Calls 4

setMethod · 0.95
assertFalseMethod · 0.80
assertTrueMethod · 0.80
VarClass · 0.70

Tested by

no test coverage detected