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

Function char_name_db

Lib/test/test_tools/test_makeunicodedata.py:17–23  ·  view source on GitHub ↗
(draw, min_length=1, max_length=30)

Source from the content-addressed store, hash-verified

15
16@st.composite
17def char_name_db(draw, min_length=1, max_length=30):
18 m = draw(st.integers(min_value=min_length, max_value=max_length))
19 names = draw(
20 st.sets(st.text("abcd", min_size=1, max_size=10), min_size=m, max_size=m)
21 )
22 characters = draw(st.sets(st.characters(), min_size=m, max_size=m))
23 return list(zip(names, characters))
24
25
26class TestDawg(unittest.TestCase):

Callers

nothing calls this directly

Calls 4

listClass · 0.85
drawFunction · 0.50
textMethod · 0.45
charactersMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…