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

Method testSetVarArray

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

Source from the content-addressed store, hash-verified

126 self.assertEqual(tcl.eval('set a'), '\u20ac\x00')
127
128 def testSetVarArray(self):
129 tcl = self.interp
130 tcl.setvar('a(1)','1')
131 self.assertEqual(tcl.eval('set a(1)'),'1')
132
133 def testGetVar(self):
134 tcl = self.interp

Callers

nothing calls this directly

Calls 3

evalMethod · 0.80
setvarMethod · 0.45
assertEqualMethod · 0.45

Tested by

no test coverage detected