Skip to content

unittest module cleanup functions not run unless tearDownModule() is defined #88079

@rtarpine

Description

@rtarpine
mannequin
BPO 43913
Nosy @terryjreedy, @rbtcollins, @ezio-melotti, @voidspace, @ambv, @serhiy-storchaka, @miss-islington, @miguendes
PRs
  • bpo-43913: Fix unittest module cleanup #25700
  • bpo-43913: Fix bugs in cleaning up classes and modules in unittest. #28006
  • [3.10] bpo-43913: Fix bugs in cleaning up classes and modules in unittest. (GH-28006) #28070
  • [3.9] bpo-43913: Fix bugs in cleaning up classes and modules in unitt… #28071
  • 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 2021-08-30.18:02:06.690>
    created_at = <Date 2021-04-22.17:30:03.199>
    labels = ['type-bug', 'library', '3.9', '3.10', '3.11']
    title = 'unittest module cleanup functions not run unless tearDownModule() is defined'
    updated_at = <Date 2021-08-30.18:02:06.690>
    user = 'https://bugs.python.org/rtarpine'

    bugs.python.org fields:

    activity = <Date 2021-08-30.18:02:06.690>
    actor = 'lukasz.langa'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-08-30.18:02:06.690>
    closer = 'lukasz.langa'
    components = ['Library (Lib)']
    creation = <Date 2021-04-22.17:30:03.199>
    creator = 'rtarpine'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 43913
    keywords = ['patch']
    message_count = 12.0
    messages = ['391619', '391800', '392268', '392580', '392590', '392773', '400090', '400442', '400633', '400637', '400641', '400644']
    nosy_count = 10.0
    nosy_names = ['terry.reedy', 'rbcollins', 'ezio.melotti', 'michael.foord', 'lukasz.langa', 'python-dev', 'serhiy.storchaka', 'miss-islington', 'rtarpine', 'miguendes']
    pr_nums = ['25700', '28006', '28070', '28071']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue43913'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.11only security fixes3.9 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions