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

Method testEval

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

Source from the content-addressed store, hash-verified

44 return self.interp.call('set', '_', value)
45
46 def testEval(self):
47 tcl = self.interp
48 tcl.eval('set a 1')
49 self.assertEqual(tcl.eval('set a'),'1')
50
51 def test_eval_null_in_result(self):
52 tcl = self.interp

Callers

nothing calls this directly

Calls 2

evalMethod · 0.80
assertEqualMethod · 0.45

Tested by

no test coverage detected