(self)
| 1560 | self.assertEqual("\N{SNOWMAN}", soup.b.decode_contents()) |
| 1561 | |
| 1562 | def test_encode_contents(self): |
| 1563 | html = "<b>\N{SNOWMAN}</b>" |
| 1564 | soup = self.soup(html) |
| 1565 | self.assertEqual( |
| 1566 | "\N{SNOWMAN}".encode("utf8"), soup.b.encode_contents( |
| 1567 | encoding="utf8")) |
| 1568 | |
| 1569 | def test_deprecated_renderContents(self): |
| 1570 | html = "<b>\N{SNOWMAN}</b>" |
nothing calls this directly
no test coverage detected