MCPcopy
hub / github.com/psf/requests / test_guess_by_bom

Method test_guess_by_bom

tests/test_utils.py:438–440  ·  view source on GitHub ↗
(self, encoding, expected)

Source from the content-addressed store, hash-verified

436 ),
437 )
438 def test_guess_by_bom(self, encoding, expected):
439 data = "\ufeff{}".encode(encoding)
440 assert guess_json_utf(data) == expected
441
442
443USER = PASSWORD = "%!*'();:@&=+$,/?#[] "

Callers

nothing calls this directly

Calls 1

guess_json_utfFunction · 0.90

Tested by

no test coverage detected