MCPcopy Index your code
hub / github.com/python/cpython / test_file_utf8

Method test_file_utf8

Lib/test/test_string_literals.py:342–343  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

340 self.assertRaises(SyntaxError, self.check_encoding, "utf-8", extra)
341
342 def test_file_utf8(self):
343 self.check_encoding("utf-8")
344
345 def test_file_iso_8859_1(self):
346 self.check_encoding("iso-8859-1")

Callers

nothing calls this directly

Calls 1

check_encodingMethod · 0.95

Tested by

no test coverage detected