(self)
| 486 | self.assertEqual(expected, self.prettify(xml)) |
| 487 | |
| 488 | def testPreCodeWithText(self): |
| 489 | xml = "<pre><code> hello</code></pre>" |
| 490 | expected = "<pre><code> hello\n</code></pre>\n" |
| 491 | self.assertEqual(expected, self.prettify(xml)) |
| 492 | |
| 493 | def testPreCodeWithTrailingSpace(self): |
| 494 | xml = "<pre><code> hello </code></pre>" |