Skip to content

unittest.TestCase.assertTrue return True even if the expr is False #84938

@leeyummy

Description

@leeyummy
mannequin
BPO 40761
Nosy @stevendaprano, @zware, @serhiy-storchaka
Files
  • test_asserttrue.py
  • 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 2020-05-25.20:31:34.193>
    created_at = <Date 2020-05-25.03:02:45.912>
    labels = ['type-bug', 'tests']
    title = 'unittest.TestCase.assertTrue return True even if the expr is False'
    updated_at = <Date 2020-05-25.20:31:34.192>
    user = 'https://bugs.python.org/leeyummy'

    bugs.python.org fields:

    activity = <Date 2020-05-25.20:31:34.192>
    actor = 'zach.ware'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-05-25.20:31:34.193>
    closer = 'zach.ware'
    components = ['Tests']
    creation = <Date 2020-05-25.03:02:45.912>
    creator = 'lee yummy'
    dependencies = []
    files = ['49192']
    hgrepos = []
    issue_num = 40761
    keywords = []
    message_count = 4.0
    messages = ['369843', '369847', '369858', '369922']
    nosy_count = 4.0
    nosy_names = ['steven.daprano', 'zach.ware', 'serhiy.storchaka', 'lee yummy']
    pr_nums = []
    priority = 'normal'
    resolution = 'works for me'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue40761'
    versions = ['Python 3.5']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      testsTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or error
      No fields configured for issues without a type.

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions