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

Method test_unicode

Lib/test/test_ttk_textonly.py:454–459  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

452class TclObjsToPyTest(unittest.TestCase):
453
454 def test_unicode(self):
455 adict = {'opt': 'välúè'}
456 self.assertEqual(ttk.tclobjs_to_py(adict), {'opt': 'välúè'})
457
458 adict['opt'] = MockTclObj(adict['opt'])
459 self.assertEqual(ttk.tclobjs_to_py(adict), {'opt': 'välúè'})
460
461 def test_multivalues(self):
462 adict = {'opt': [1, 2, 3, 4]}

Callers

nothing calls this directly

Calls 2

MockTclObjClass · 0.85
assertEqualMethod · 0.45

Tested by

no test coverage detected