Skip to content

Document that unittest.TestCase.__init__ is called once per test #64149

@PCManticore

Description

@PCManticore
BPO 19950
Nosy @gpshead, @nedbat, @ezio-melotti, @bitdancer, @voidspace, @PCManticore
PRs
  • bpo-19950: Clarify unittest TestCase instance use. #6875
  • [3.7] bpo-19950: Clarify unittest TestCase instance use. (GH-6875) #6938
  • [3.6] bpo-19950: Clarify unittest TestCase instance use. (GH-6875) #6939
  • Files
  • unittest_init.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 2018-05-19.00:57:20.147>
    created_at = <Date 2013-12-10.22:34:18.643>
    labels = ['easy', '3.8', 'type-feature', '3.7', 'docs']
    title = 'Document that unittest.TestCase.__init__ is called once per test'
    updated_at = <Date 2018-05-19.00:57:20.147>
    user = 'https://github.com/PCManticore'

    bugs.python.org fields:

    activity = <Date 2018-05-19.00:57:20.147>
    actor = 'gregory.p.smith'
    assignee = 'docs@python'
    closed = True
    closed_date = <Date 2018-05-19.00:57:20.147>
    closer = 'gregory.p.smith'
    components = ['Documentation']
    creation = <Date 2013-12-10.22:34:18.643>
    creator = 'Claudiu.Popa'
    dependencies = []
    files = ['33086']
    hgrepos = []
    issue_num = 19950
    keywords = ['patch', 'easy']
    message_count = 10.0
    messages = ['205864', '205866', '205867', '205869', '205872', '205891', '217247', '316943', '317085', '317086']
    nosy_count = 7.0
    nosy_names = ['gregory.p.smith', 'nedbat', 'ezio.melotti', 'r.david.murray', 'michael.foord', 'docs@python', 'Claudiu.Popa']
    pr_nums = ['6875', '6938', '6939']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'commit review'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue19950'
    versions = ['Python 3.7', 'Python 3.8']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of life3.8 (EOL)end of lifedocsDocumentation in the Doc direasytype-featureA feature request or enhancement

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions