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

Method testGetVarArray

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

Source from the content-addressed store, hash-verified

136 self.assertEqual(tcl.getvar('a'),'1')
137
138 def testGetVarArray(self):
139 tcl = self.interp
140 tcl.eval('set a(1) 1')
141 self.assertEqual(tcl.getvar('a(1)'),'1')
142
143 def testGetVarException(self):
144 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