[issue2142] difflib.unified_diff(...) produces invalid patches

Mark Lawrence report at bugs.python.org
Mon Jul 19 18:43:06 CEST 2010

Mark Lawrence <breamoreboy at yahoo.co.uk> added the comment:

The two latest patch files were missing TestDifflib from run_unittest.  Having shown that the tests failed if test_difflib only was patched, then patch difflib against the 3.1 maintainance and py3k branches, the former passed ok and the latter failed.  Could someone please take a look, at the same time considering Mark D's suggestion about using a keyword argument to the unified_diff and context_diff functions.

nosy: +BreamoreBoy

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list