summaryrefslogtreecommitdiff
path: root/Lib/test/test_difflib.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-02-10 08:00:53 +0000
committerTim Peters <tim.peters@gmail.com>2001-02-10 08:00:53 +0000
commit9ae2148adaa6320e6e1017d9786522f2b57e10f0 (patch)
tree0ea5ae804e3adbd3136166c0e8740c9c30c59936 /Lib/test/test_difflib.py
parent6db54c69a40a0358efc237292ee55a2de5122cd4 (diff)
downloadcpython-git-9ae2148adaa6320e6e1017d9786522f2b57e10f0.tar.gz
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: ----------------------------------------------------------------------
Diffstat (limited to 'Lib/test/test_difflib.py')
-rw-r--r--Lib/test/test_difflib.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_difflib.py b/Lib/test/test_difflib.py
new file mode 100644
index 0000000000..b1bcbd8384
--- /dev/null
+++ b/Lib/test/test_difflib.py
@@ -0,0 +1,2 @@
+import doctest, difflib
+doctest.testmod(difflib, verbose=1)