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

Method test_eval_surrogates_in_result

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

Source from the content-addressed store, hash-verified

53 self.assertEqual(tcl.eval('set a "a\\0b"'), 'a\x00b')
54
55 def test_eval_surrogates_in_result(self):
56 tcl = self.interp
57 self.assertEqual(tcl.eval(r'set a "<\ud83d\udcbb>"'), '<\U0001f4bb>')
58
59 def testEvalException(self):
60 tcl = self.interp

Callers

nothing calls this directly

Calls 2

evalMethod · 0.80
assertEqualMethod · 0.45

Tested by

no test coverage detected