Test serialization of `ProcessignInstruction`.
(self)
| 558 | ) |
| 559 | |
| 560 | def testProsessingInstruction(self): |
| 561 | """ Test serialization of `ProcessignInstruction`. """ |
| 562 | pi = ProcessingInstruction('foo', text='<&"test\nescaping">') |
| 563 | self.assertIs(pi.tag, ProcessingInstruction) |
| 564 | self.assertEqual( |
| 565 | markdown.serializers.to_xhtml_string(pi), |
| 566 | '<?foo <&"test\nescaping">?>' |
| 567 | ) |
| 568 | |
| 569 | def testQNameTag(self): |
| 570 | """ Test serialization of `QName` tag. """ |
nothing calls this directly
no outgoing calls
no test coverage detected