MCPcopy
hub / github.com/scrapy/scrapy / xmliter

Method xmliter

tests/test_utils_iterators.py:261–264  ·  view source on GitHub ↗
(
        self, obj: Response | str | bytes, nodename: str, *args: Any
    )

Source from the content-addressed store, hash-verified

259@pytest.mark.filterwarnings("ignore::scrapy.exceptions.ScrapyDeprecationWarning")
260class TestXmliter(TestXmliterBase):
261 def xmliter(
262 self, obj: Response | str | bytes, nodename: str, *args: Any
263 ) -> Iterator[Selector]:
264 return xmliter(obj, nodename)
265
266 def test_deprecation(self):
267 body = b"""

Callers 1

test_deprecationMethod · 0.95

Calls 1

xmliterFunction · 0.90

Tested by

no test coverage detected