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

Method testGetVar

Lib/test/test_tcl.py:133–136  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

131 self.assertEqual(tcl.eval('set a(1)'),'1')
132
133 def testGetVar(self):
134 tcl = self.interp
135 tcl.eval('set a 1')
136 self.assertEqual(tcl.getvar('a'),'1')
137
138 def testGetVarArray(self):
139 tcl = self.interp

Callers

nothing calls this directly

Calls 3

evalMethod · 0.80
assertEqualMethod · 0.45
getvarMethod · 0.45

Tested by

no test coverage detected