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

Method test_one_delete

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

Source from the content-addressed store, hash-verified

308 self.assertEqual(list(m), ['+ a', ' b', ' b'])
309
310 def test_one_delete(self):
311 m = difflib.Differ().compare('a' + 'b' * 2, 'b' * 2)
312 self.assertEqual(list(m), ['- a', ' b', ' b'])
313
314
315class TestOutputFormat(unittest.TestCase):

Callers

nothing calls this directly

Calls 3

listClass · 0.85
compareMethod · 0.45
assertEqualMethod · 0.45

Tested by

no test coverage detected