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

Method test_eval_null_in_result

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

Source from the content-addressed store, hash-verified

49 self.assertEqual(tcl.eval('set a'),'1')
50
51 def test_eval_null_in_result(self):
52 tcl = self.interp
53 self.assertEqual(tcl.eval('set a "a\\0b"'), 'a\x00b')
54
55 def test_eval_surrogates_in_result(self):
56 tcl = self.interp

Callers

nothing calls this directly

Calls 2

evalMethod · 0.80
assertEqualMethod · 0.45

Tested by

no test coverage detected