(n, tag="g")
| 253 | return svg_data_1.encode("ascii", "xmlcharrefreplace") |
| 254 | |
| 255 | def yield_groups(n, tag="g"): |
| 256 | if n.nodeType == n.ELEMENT_NODE and n.tagName == tag: |
| 257 | yield n |
| 258 | for c in n.childNodes: |
| 259 | yield from yield_groups(c, tag=tag) |
| 260 | |
| 261 | dom1 = parseString(svg_data_1) |
| 262 | svg1 = dom1.childNodes[0] |
no outgoing calls
no test coverage detected