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

Method testSetVar

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

Source from the content-addressed store, hash-verified

109 self.assertEqual(a, expected)
110
111 def testSetVar(self):
112 tcl = self.interp
113 tcl.setvar('a','1')
114 self.assertEqual(tcl.eval('set a'),'1')
115
116 def test_setvar_passing_null(self):
117 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