MCPcopy Index your code
hub / github.com/csev/py4e / test_deprecated_renderContents

Method test_deprecated_renderContents

code3/bs4/tests/test_tree.py:1569–1573  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1567 encoding="utf8"))
1568
1569 def test_deprecated_renderContents(self):
1570 html = "<b>\N{SNOWMAN}</b>"
1571 soup = self.soup(html)
1572 self.assertEqual(
1573 "\N{SNOWMAN}".encode("utf8"), soup.b.renderContents())
1574
1575 def test_repr(self):
1576 html = "<b>\N{SNOWMAN}</b>"

Callers

nothing calls this directly

Calls 3

soupMethod · 0.45
encodeMethod · 0.45
renderContentsMethod · 0.45

Tested by

no test coverage detected