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

Function test_letters

tests/test_parse.py:750–758  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

748
749
750def test_letters():
751 res = parse.parse("{:l}", "")
752 assert res is None
753 res = parse.parse("{:l}", "sPaM")
754 assert res.fixed == ("sPaM",)
755 res = parse.parse("{:l}", "sP4M")
756 assert res is None
757 res = parse.parse("{:l}", "sP_M")
758 assert res is None
759
760
761def test_strftime_strptime_roundtrip():

Callers

nothing calls this directly

Calls 1

parseMethod · 0.45

Tested by

no test coverage detected