Skip to content

Failing doctests due to environmental dependencies in Lib/{nntp,ftp,diff}lib.rst #71397

Closed

Description

@JelleZijlstra
BPO 27210
Nosy @zware, @JelleZijlstra
Files
  • doctests-libs.patch
  • 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 = None
    closed_at = <Date 2016-08-10.06:01:36.732>
    created_at = <Date 2016-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 = <Date 2016-08-10.06:03:03.279>
    user = 'https://github.com/JelleZijlstra'

    bugs.python.org fields:

    activity = <Date 2016-08-10.06:03:03.279>
    actor = 'zach.ware'
    assignee = 'docs@python'
    closed = True
    closed_date = <Date 2016-08-10.06:01:36.732>
    closer = 'python-dev'
    components = ['Documentation']
    creation = <Date 2016-06-04.00:46:55.584>
    creator = 'JelleZijlstra'
    dependencies = []
    files = ['43181']
    hgrepos = []
    issue_num = 27210
    keywords = ['patch']
    message_count = 3.0
    messages = ['267208', '272313', '272314']
    nosy_count = 4.0
    nosy_names = ['docs@python', 'python-dev', 'zach.ware', 'JelleZijlstra']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue27210'
    versions = ['Python 3.5', 'Python 3.6']

    Activity

    1. JelleZijlstra commented on Jun 4, 2016

      @JelleZijlstra
      MemberAuthor

      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.

    2. python-dev commented on Aug 10, 2016

      python-devmannequin
      Mannequin

      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

    3. zware commented on Aug 10, 2016

      @zware
      Member

      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.

    4. 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
    5. added
      type-bugAn unexpected behavior, bug, or error
      on Aug 10, 2016
    6. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      docsDocumentation in the Doc dirtype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions