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

Method create_writer

Lib/test/test_capi/test_unicode.py:1758–1759  ·  view source on GitHub ↗
(self, size)

Source from the content-addressed store, hash-verified

1756
1757class PyUnicodeWriterTest(unittest.TestCase):
1758 def create_writer(self, size):
1759 return _testcapi.PyUnicodeWriter(size)
1760
1761 def test_basic(self):
1762 writer = self.create_writer(100)

Callers 12

test_basicMethod · 0.95
test_repr_nullMethod · 0.95
test_write_charMethod · 0.95
test_utf8Method · 0.95
test_asciiMethod · 0.95
test_invalid_utf8Method · 0.95
test_decode_utf8Method · 0.95
test_widecharMethod · 0.95
test_ucs4Method · 0.95
test_substring_emptyMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected