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

Method test_processing_instruction

code3/bs4/testing.py:139–142  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

137 markup.replace(b"\n", b""))
138
139 def test_processing_instruction(self):
140 markup = b"""<?PITarget PIContent?>"""
141 soup = self.soup(markup)
142 self.assertEqual(markup, soup.encode("utf8"))
143
144 def test_deepcopy(self):
145 """Make sure you can copy the tree builder.

Callers

nothing calls this directly

Calls 2

soupMethod · 0.45
encodeMethod · 0.45

Tested by

no test coverage detected