summaryrefslogtreecommitdiffstats
path: root/Doc/library/filecmp.rst
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2013-01-11 07:09:07 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2013-01-11 07:09:07 (GMT)
commit405079213b7b35145ec5a437cd8b99528c3e4841 (patch)
tree5f322e834a73771b293658342562a468c5edc6d3 /Doc/library/filecmp.rst
parent444d153d7ed9da2320e1fac91c4eb8666fb914f3 (diff)
downloadcpython-405079213b7b35145ec5a437cd8b99528c3e4841.zip
cpython-405079213b7b35145ec5a437cd8b99528c3e4841.tar.gz
cpython-405079213b7b35145ec5a437cd8b99528c3e4841.tar.bz2
#16154: fix some doctests in Doc/library. Patch by Ravi Sinha.
Diffstat (limited to 'Doc/library/filecmp.rst')
-rw-r--r--Doc/library/filecmp.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/filecmp.rst b/Doc/library/filecmp.rst
index de20fb1..8fd23dd 100644
--- a/Doc/library/filecmp.rst
+++ b/Doc/library/filecmp.rst
@@ -54,9 +54,9 @@ The :mod:`filecmp` module defines the following functions:
Example::
>>> import filecmp
- >>> filecmp.cmp('undoc.rst', 'undoc.rst')
+ >>> filecmp.cmp('undoc.rst', 'undoc.rst') # doctest: +SKIP
True
- >>> filecmp.cmp('undoc.rst', 'index.rst')
+ >>> filecmp.cmp('undoc.rst', 'index.rst') # doctest: +SKIP
False
@@ -191,6 +191,6 @@ recursively through two directories to show common different files::
... for sub_dcmp in dcmp.subdirs.values():
... print_diff_files(sub_dcmp)
...
- >>> dcmp = dircmp('dir1', 'dir2')
- >>> print_diff_files(dcmp)
+ >>> dcmp = dircmp('dir1', 'dir2') # doctest: +SKIP
+ >>> print_diff_files(dcmp) # doctest: +SKIP