summaryrefslogtreecommitdiff
path: root/Lib/test/test_difflib.py
AgeCommit message (Collapse)AuthorLines
2001-09-09Teach regrtest how to pass on doctest failure msgs. This is done via aTim Peters-3/+2
horridly inefficient hack in regrtest's Compare class, but it's about as clean as can be: regrtest has to set up the Compare instance before importing a test module, and by the time the module *is* imported it's too late to change that decision. The good news is that the more tests we convert to unittest and doctest, the less the inefficiency here matters. Even now there are few tests with large expected-output files (the new cost here is a Python-level call per .write() when there's an expected- output file).
2001-05-23Remove test_doctest's expected-output file.Tim Peters-1/+2
Change test_doctest and test_difflib to pass regrtest's notion of verbosity on to doctest. Add explanation for a dozen "new" things to test/README.
2001-05-23Remove test_difflib's output file and change test_difflib to stopTim Peters-1/+1
generating it. Since this is purely a doctest, the output file never served a good purpose.
2001-02-10Moved SequenceMatcher from ndiff into new std library module difflib.py.Tim Peters-0/+2
Guido told me to do this <wink>. Greatly expanded docstrings, and fleshed out with examples. New std test. Added new get_close_matches() function for ESR. Needs docs, but LaTeXification of the module docstring is all it needs. \CVS: ----------------------------------------------------------------------