Skip to content

unittest assertEqual difference output foiled by newlines #68968

Closed
@cjerdonek

Description

@cjerdonek
BPO 24780
Nosy @tim-one, @loewis, @rbtcollins, @ezio-melotti, @bitdancer, @voidspace, @cjerdonek, @elenaoat, @AnishShah, @tirkarthi, @nanjekyejoannah
PRs
  • bpo-24780: unittest assertEqual difference output foiled by newlines #11548
  • bpo-24780: unittest assertEqual difference output foiled by newlines #11548
  • bpo-24780: unittest assertEqual difference output foiled by newlines #11548
  • Files
  • test.py: Test case to reproduce the bug
  • test2.py
  • issue24780.patch
  • fix_24780.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 = None
    created_at = <Date 2015-08-02.16:49:29.240>
    labels = ['3.7', '3.8', 'type-bug', 'library', 'easy']
    title = 'unittest assertEqual difference output foiled by newlines'
    updated_at = <Date 2019-01-14.15:30:04.394>
    user = 'https://github.com/cjerdonek'

    bugs.python.org fields:

    activity = <Date 2019-01-14.15:30:04.394>
    actor = 'xtreak'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2015-08-02.16:49:29.240>
    creator = 'chris.jerdonek'
    dependencies = []
    files = ['41636', '41639', '41782', '44679']
    hgrepos = []
    issue_num = 24780
    keywords = ['patch', 'easy']
    message_count = 14.0
    messages = ['247883', '247947', '258132', '258466', '259375', '259403', '261713', '275942', '276633', '333277', '333289', '333295', '333584', '333627']
    nosy_count = 13.0
    nosy_names = ['tim.peters', 'loewis', 'rbcollins', 'ezio.melotti', 'r.david.murray', 'michael.foord', 'chris.jerdonek', 'Elena.Oat', 'anish.shah', 'pynewbie', 'adchanw', 'xtreak', 'nanjekyejoannah']
    pr_nums = ['11548', '11548', '11548']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue24780'
    versions = ['Python 2.7', 'Python 3.7', 'Python 3.8']

    Linked PRs

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of life3.8 (EOL)end of lifeeasystdlibPython modules in the Lib dirtype-bugAn unexpected behavior, bug, or error

      Projects

      Status

      Done

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions