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

Method test_hint_indented_properly_with_tabs

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

Source from the content-addressed store, hash-verified

104 self.assertEqual("? +\n", diff[3])
105
106 def test_hint_indented_properly_with_tabs(self):
107 diff = list(difflib.Differ().compare(["\t \t \t^"], ["\t \t \t^\n"]))
108 self.assertEqual("- \t \t \t^", diff[0])
109 self.assertEqual("+ \t \t \t^\n", diff[1])
110 self.assertEqual("? \t \t \t +\n", diff[2])
111
112 def test_mdiff_catch_stop_iteration(self):
113 # Issue #33224

Callers

nothing calls this directly

Calls 3

listClass · 0.85
compareMethod · 0.45
assertEqualMethod · 0.45

Tested by

no test coverage detected