MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_file_utf8

Method test_file_utf8

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

Source from the content-addressed store, hash-verified

344 self.assertRaises(SyntaxError, self.check_encoding, "utf-8", extra)
345
346 def test_file_utf8(self):
347 self.check_encoding("utf-8")
348
349 def test_file_iso_8859_1(self):
350 self.check_encoding("iso-8859-1")

Callers

nothing calls this directly

Calls 1

check_encodingMethod · 0.95

Tested by

no test coverage detected