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

Method _check_uni

Lib/test/test_builtin.py:318–319  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

316 self.assertEqual(ascii(a), '{0: {...}}')
317 # Advanced checks for unicode strings
318 def _check_uni(s):
319 self.assertEqual(ascii(s), repr(s))
320 _check_uni("'")
321 _check_uni('"')
322 _check_uni('"\'')

Callers

nothing calls this directly

Calls 2

asciiFunction · 0.85
assertEqualMethod · 0.45

Tested by

no test coverage detected