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

Method test_make_file_default_charset

Lib/test/test_difflib.py:264–268  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

262 difflib.SequenceMatcher(None, old, new).get_opcodes()
263
264 def test_make_file_default_charset(self):
265 html_diff = difflib.HtmlDiff()
266 output = html_diff.make_file(patch914575_from1.splitlines(),
267 patch914575_to1.splitlines())
268 self.assertIn('charset="utf-8"', output)
269
270 def test_make_file_iso88591_charset(self):
271 html_diff = difflib.HtmlDiff()

Callers

nothing calls this directly

Calls 3

make_fileMethod · 0.95
assertInMethod · 0.80
splitlinesMethod · 0.45

Tested by

no test coverage detected