You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Failing doctests due to environmental dependencies in Lib/{nntp,ftp,diff}lib.rst #71397
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2016-08-10.06:01:36.732>created_at=<Date2016-06-04.00:46:55.584>labels= ['type-bug', 'docs']
title='Failing doctests due to environmental dependencies in Lib/{nntp,ftp,diff}lib.rst'updated_at=<Date2016-08-10.06:03:03.279>user='https://github.com/JelleZijlstra'
The difflib test fails because "False" is close enough to "apple". The ftplib and nntplib tests rely on things downloaded from the web that are inherently variable.
changed the title [-]Failing doctests due to environmental dependencies in Lib/*lib.rst[/-][+]Failing doctests due to environmental dependencies in Lib/{nntp,ftp,diff}lib.rst[/+]on Aug 10, 2016
Activity
JelleZijlstra commentedon Jun 4, 2016
The difflib test fails because "False" is close enough to "apple". The ftplib and nntplib tests rely on things downloaded from the web that are inherently variable.
python-dev commentedon Aug 10, 2016
New changeset 6b00ccf5e435 by Zachary Ware in branch '3.5':
Issue bpo-27210: Fix doctests for a few modules.
https://hg.python.org/cpython/rev/6b00ccf5e435
New changeset 0a569e4b1d57 by Zachary Ware in branch 'default':
Closes bpo-27210: Merge with 3.5
https://hg.python.org/cpython/rev/0a569e4b1d57
zware commentedon Aug 10, 2016
Thanks for the patch! I made a couple changes in difflib.rst to avoid issues with sys.stdout.write() returning the number of characters written.
[-]Failing doctests due to environmental dependencies in Lib/*lib.rst[/-][+]Failing doctests due to environmental dependencies in Lib/{nntp,ftp,diff}lib.rst[/+]