classification
Title: Failing doctests due to environmental dependencies in Lib/{nntp,ftp,diff}lib.rst
Type: behavior Stage: resolved
Components: Documentation Versions: Python 3.6, Python 3.5
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: Jelle Zijlstra, docs@python, python-dev, zach.ware
Priority: normal Keywords: patch

Created on 2016-06-04 00:46 by Jelle Zijlstra, last changed 2016-08-10 06:03 by zach.ware. This issue is now closed.

Files
File name Uploaded Description Edit
doctests-libs.patch Jelle Zijlstra, 2016-06-04 00:46 review
Messages (3)
msg267208 - (view) Author: Jelle Zijlstra (Jelle Zijlstra) * (Python triager) Date: 2016-06-04 00:46
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.
msg272313 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2016-08-10 06:01
New changeset 6b00ccf5e435 by Zachary Ware in branch '3.5':
Issue #27210: Fix doctests for a few modules.
https://hg.python.org/cpython/rev/6b00ccf5e435

New changeset 0a569e4b1d57 by Zachary Ware in branch 'default':
Closes #27210: Merge with 3.5
https://hg.python.org/cpython/rev/0a569e4b1d57
msg272314 - (view) Author: Zachary Ware (zach.ware) * (Python committer) Date: 2016-08-10 06:03
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.
History
Date User Action Args
2016-08-10 06:03:03zach.waresetnosy: + zach.ware
title: Failing doctests due to environmental dependencies in Lib/*lib.rst -> Failing doctests due to environmental dependencies in Lib/{nntp,ftp,diff}lib.rst
messages: + msg272314

versions: + Python 3.5
type: behavior
2016-08-10 06:01:36python-devsetstatus: open -> closed

nosy: + python-dev
messages: + msg272313

resolution: fixed
stage: resolved
2016-06-04 00:48:01Jelle Zijlstralinkissue27200 dependencies
2016-06-04 00:46:55Jelle Zijlstracreate