Skip to content

Multiple test modules fail to run if invoked directly #90583

Closed
@sobolevn

Description

@sobolevn
BPO 46425
Nosy @terryjreedy, @jaraco, @asvetlov, @ethanfurman, @zware, @serhiy-storchaka, @corona10, @miss-islington, @sobolevn
PRs
  • bpo-46425: fix direct invokation of multiple test modules #30666
  • bpo-46425: fix direct invocation of test_sqlite3 #30676
  • bpo-46425: fix direct invocation of test_contextlib #30681
  • bpo-46425: fix direct invocation of test_importlib #30682
  • [3.10] bpo-46425: Fix direct invocation of multiple test modules (GH-30666) #30699
  • [3.9] bpo-46425: Fix direct invocation of multiple test modules (GH-30666) #30700
  • bpo-46425: fix direct invocation of asyncio tests #30725
  • bpo-46425: fix direct invocation of test_traceback #30746
  • [3.10] bpo-46425: fix direct invocation of asyncio tests (GH-30725) #30782
  • [3.9] bpo-46425: fix direct invocation of asyncio tests (GH-30725) #30783
  • bpo-46425: fix direct invocation of test_fileutils and test_zoneinfo #30792
  • bpo-46425: Partially revert GH-30682 #30799
  • bpo-46425: revert changes to importlib.metadata and importlib.resources tests #30800
  • bpo-46474: sync with importlib_metadata 4.10.0 #30802
  • bpo-46474: Avoid REDoS in EntryPoint.pattern (sync with importlib_metadata 4.10.1) #30803
  • 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 = None
    created_at = <Date 2022-01-18.18:41:39.303>
    labels = ['type-bug', 'tests', '3.9', '3.10', '3.11']
    title = 'Multiple test modules fail to run if invoked directly'
    updated_at = <Date 2022-01-23.02:38:46.011>
    user = 'https://github.com/sobolevn'

    bugs.python.org fields:

    activity = <Date 2022-01-23.02:38:46.011>
    actor = 'jaraco'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Tests']
    creation = <Date 2022-01-18.18:41:39.303>
    creator = 'sobolevn'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 46425
    keywords = ['patch']
    message_count = 18.0
    messages = ['410879', '410880', '410881', '410886', '410887', '410911', '410924', '410999', '411000', '411088', '411247', '411250', '411252', '411264', '411265', '411266', '411267', '411334']
    nosy_count = 9.0
    nosy_names = ['terry.reedy', 'jaraco', 'asvetlov', 'ethan.furman', 'zach.ware', 'serhiy.storchaka', 'corona10', 'miss-islington', 'sobolevn']
    pr_nums = ['30666', '30676', '30681', '30682', '30699', '30700', '30725', '30746', '30782', '30783', '30792', '30799', '30800', '30802', '30803']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue46425'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.11only security fixes3.9only security fixestestsTests 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