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

Method test_make_file_iso88591_charset

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

Source from the content-addressed store, hash-verified

268 self.assertIn('charset="utf-8"', output)
269
270 def test_make_file_iso88591_charset(self):
271 html_diff = difflib.HtmlDiff()
272 output = html_diff.make_file(patch914575_from1.splitlines(),
273 patch914575_to1.splitlines(),
274 charset='iso-8859-1')
275 self.assertIn('charset="iso-8859-1"', output)
276
277 def test_make_file_usascii_charset_with_nonascii_input(self):
278 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