MCPcopy Create free account
hub / github.com/bpython/bpython / test_peal_off_string

Method test_peal_off_string

bpython/test/test_curtsies_parser.py:24–37  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

22 )
23
24 def test_peal_off_string(self):
25 self.assertEqual(
26 parse.peel_off_string("\x01RI\x03]\x04asdf"),
27 (
28 {
29 "bg": "I",
30 "string": "]",
31 "fg": "R",
32 "colormarker": "\x01RI",
33 "bold": "",
34 },
35 "asdf",
36 ),
37 )

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected