Logo
Explore Help
Sign In
1berry/cpython
1
0
Fork 0
You've already forked cpython
Code Issues Packages Projects Releases Wiki Activity
cpython/Lib/test/test_difflib.py

4 lines
99 B
Python
Raw Normal View History

Remove test_doctest's expected-output file. 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-23 07:46:36 +00:00
from test_support import verbose
Moved SequenceMatcher from ndiff into new std library module difflib.py. 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: ----------------------------------------------------------------------
2001-02-10 08:00:53 +00:00
import doctest, difflib
Remove test_doctest's expected-output file. 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-23 07:46:36 +00:00
doctest.testmod(difflib, verbose=verbose)
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 764ms Template: 7ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API