MCPcopy
hub / github.com/scrapy/scrapy / test_errors_argument

Method test_errors_argument

tests/test_utils_python.py:90–91  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

88 to_unicode(423)
89
90 def test_errors_argument(self):
91 assert to_unicode(b"a\xedb", "utf-8", errors="replace") == "a\ufffdb"
92
93
94class TestToBytes:

Callers

nothing calls this directly

Calls 1

to_unicodeFunction · 0.90

Tested by

no test coverage detected