MCPcopy Create free account
hub / github.com/coooodeer/parse-rust / _

Function _

tests/test_pattern.py:45–48  ·  view source on GitHub ↗
(fmt, matches)

Source from the content-addressed store, hash-verified

43
44def test_format_variety():
45 def _(fmt, matches):
46 d = parse.extract_format(fmt, {"spam": "spam"})
47 for k in matches:
48 assert d.get(k) == matches[k]
49
50 for t in "%obxegfdDwWsS":
51 _(t, {"type": t})

Callers 1

test_format_varietyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected