diff -r 365b5e6163a6 Doc/library/difflib.rst --- a/Doc/library/difflib.rst Fri Jun 03 19:14:52 2016 +0000 +++ b/Doc/library/difflib.rst Fri Jun 03 17:00:47 2016 -0700 @@ -206,7 +206,7 @@ >>> import keyword >>> get_close_matches('wheel', keyword.kwlist) ['while'] - >>> get_close_matches('apple', keyword.kwlist) + >>> get_close_matches('pineapple', keyword.kwlist) [] >>> get_close_matches('accept', keyword.kwlist) ['except'] diff -r 365b5e6163a6 Doc/library/ftplib.rst --- a/Doc/library/ftplib.rst Fri Jun 03 19:14:52 2016 +0000 +++ b/Doc/library/ftplib.rst Fri Jun 03 17:00:47 2016 -0700 @@ -58,7 +58,7 @@ >>> with FTP("ftp1.at.proftpd.org") as ftp: ... ftp.login() ... ftp.dir() - ... + ... # doctest: +SKIP '230 Anonymous login ok, restrictions apply.' dr-xr-xr-x 9 ftp ftp 154 May 6 10:43 . dr-xr-xr-x 9 ftp ftp 154 May 6 10:43 .. diff -r 365b5e6163a6 Doc/library/nntplib.rst --- a/Doc/library/nntplib.rst Fri Jun 03 19:14:52 2016 +0000 +++ b/Doc/library/nntplib.rst Fri Jun 03 17:00:47 2016 -0700 @@ -76,7 +76,7 @@ >>> from nntplib import NNTP >>> with NNTP('news.gmane.org') as n: ... n.group('gmane.comp.python.committers') - ... + ... # doctest: +SKIP ('211 1755 1 1755 gmane.comp.python.committers', 1755, 1, 1755, 'gmane.comp.python.committers') >>> @@ -262,9 +262,9 @@ >>> from datetime import date, timedelta >>> resp, groups = s.newgroups(date.today() - timedelta(days=3)) - >>> len(groups) + >>> len(groups) # doctest: +SKIP 85 - >>> groups[0] + >>> groups[0] # doctest: +SKIP GroupInfo(group='gmane.network.tor.devel', last='4', first='1', flag='m') @@ -313,9 +313,9 @@ is a dictionary mapping group names to textual descriptions. >>> resp, descs = s.descriptions('gmane.comp.python.*') - >>> len(descs) + >>> len(descs) # doctest: +SKIP 295 - >>> descs.popitem() + >>> descs.popitem() # doctest: +SKIP ('gmane.comp.python.bio.general', 'BioPython discussion list (Moderated)')