Skip to content

[EASY] Incorrect usage of unittest.TestCase in test_urllib2_localnet #78212

@pablogsal

Description

@pablogsal
BPO 34031
Nosy @taleinat, @pablogsal, @miss-islington, @tirkarthi, @stoksc
PRs
  • bpo-34031: fix incorrect usage of self.fail in 2 unittests #8091
  • [3.7] bpo-34031: fix incorrect usage of self.fail in two tests (GH-8091) #8223
  • [3.6] bpo-34031: fix incorrect usage of self.fail in two tests (GH-8091) #8224
  • [2.7] bpo-34031: fix incorrect usage of self.fail in two tests (GH-8091) #8225
  • 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 = 'https://github.com/pablogsal'
    closed_at = <Date 2018-07-10.10:30:04.073>
    created_at = <Date 2018-07-03.12:35:20.444>
    labels = ['3.7', '3.8', 'type-bug', 'tests', 'easy']
    title = '[EASY] Incorrect usage of unittest.TestCase in test_urllib2_localnet'
    updated_at = <Date 2018-07-10.10:30:04.072>
    user = 'https://github.com/pablogsal'

    bugs.python.org fields:

    activity = <Date 2018-07-10.10:30:04.072>
    actor = 'taleinat'
    assignee = 'pablogsal'
    closed = True
    closed_date = <Date 2018-07-10.10:30:04.073>
    closer = 'taleinat'
    components = ['Tests']
    creation = <Date 2018-07-03.12:35:20.444>
    creator = 'pablogsal'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 34031
    keywords = ['patch', 'easy']
    message_count = 8.0
    messages = ['320976', '321008', '321045', '321371', '321372', '321373', '321376', '321377']
    nosy_count = 5.0
    nosy_names = ['taleinat', 'pablogsal', 'miss-islington', 'xtreak', 'stoksc']
    pr_nums = ['8091', '8223', '8224', '8225']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue34031'
    versions = ['Python 2.7', 'Python 3.6', 'Python 3.7', 'Python 3.8']

    Metadata

    Metadata

    Assignees

    Labels

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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions