()
| 176 | |
| 177 | |
| 178 | def test_mixed(): |
| 179 | # pull a fixed and named values out of string |
| 180 | r = parse.parse("hello {} {name} {} {spam}", "hello world and other beings") |
| 181 | assert r.fixed == ("world", "other") |
| 182 | assert r.named == {"name": "and", "spam": "beings"} |
| 183 | |
| 184 | |
| 185 | def test_named_typed(): |