Skip to content

test_thread should clean threads after each test #74542

@vstinner

Description

@vstinner
BPO 30357
Nosy @vstinner, @serhiy-storchaka, @grzgrzgrz3
PRs
  • bpo-30357 each test in test_thread waits until all spawned threads finish #1583
  • bpo-30357: test_thread now uses threading_cleanup() #1592
  • [3.6] bpo-30357: test_thread now uses threading_cleanup() (#1592) #1622
  • [3.5] bpo-30357: test_thread now uses threading_cleanup() (#1592) #1623
  • bpo-30387: Fix warning in test_threading #1634
  • [3.6] bpo-30387: Fix warning in test_threading (#1634) #1636
  • [3.5] bpo-30387: Fix warning in test_threading (#1634) #1637
  • 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 2017-05-17.00:14:25.666>
    created_at = <Date 2017-05-12.22:35:04.470>
    labels = ['3.7', 'tests']
    title = 'test_thread should clean threads after each test'
    updated_at = <Date 2017-05-17.21:49:45.972>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2017-05-17.21:49:45.972>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2017-05-17.00:14:25.666>
    closer = 'vstinner'
    components = ['Tests']
    creation = <Date 2017-05-12.22:35:04.470>
    creator = 'vstinner'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 30357
    keywords = []
    message_count = 13.0
    messages = ['293586', '293643', '293661', '293678', '293713', '293718', '293724', '293731', '293732', '293825', '293876', '293891', '293893']
    nosy_count = 3.0
    nosy_names = ['vstinner', 'serhiy.storchaka', 'grzgrzgrz3']
    pr_nums = ['1583', '1592', '1622', '1623', '1634', '1636', '1637']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue30357'
    versions = ['Python 2.7', 'Python 3.5', 'Python 3.6', 'Python 3.7']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of lifetestsTests in the Lib/test dir

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions