Skip to content

unittest assertEqual difference output foiled by newlines#68968

@cjerdonek

Description

@cjerdonek
BPO24780
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=Noneclosed_at=Nonecreated_at=<Date2015-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=<Date2019-01-14.15:30:04.394>user='https://github.com/cjerdonek'

    bugs.python.org fields:

    activity=<Date2019-01-14.15:30:04.394>actor='xtreak'assignee='none'closed=Falseclosed_date=Nonecloser=Nonecomponents= ['Library (Lib)'] creation=<Date2015-08-02.16:49:29.240>creator='chris.jerdonek'dependencies= [] files= ['41636', '41639', '41782', '44679'] hgrepos= [] issue_num=24780keywords= ['patch', 'easy'] message_count=14.0messages= ['247883', '247947', '258132', '258466', '259375', '259403', '261713', '275942', '276633', '333277', '333289', '333295', '333584', '333627'] nosy_count=13.0nosy_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=Nonestage='patch review'status='open'superseder=Nonetype='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 lifeeasystdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

      Projects

      Status

      Done

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions