Skip to content

Disallow Mock spec arguments from being Mocks #87644

@msuozzo

Description

@msuozzo
mannequin
BPO 43478
Nosy @gpshead, @vstinner, @cjw296, @voidspace, @lisroach, @mariocj89, @pablogsal, @tirkarthi, @msuozzo
PRs
  • bpo-43478: Restrict use of Mock objects as specs #25326
  • bpo-43478: Fix formatting of NEWS entry #25335
  • bpo-43753: Add Py_Is() and Py_IsNone() functions #25227
  • bpo-43478: Restrict use of Mock objects as specs #31090
  • 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 2021-03-12.01:53:43.131>
    labels = ['type-feature', 'tests', '3.10']
    title = 'Disallow Mock spec arguments from being Mocks'
    updated_at = <Date 2022-02-02.23:26:50.979>
    user = 'https://bugs.python.org/msuozzo'

    bugs.python.org fields:

    activity = <Date 2022-02-02.23:26:50.979>
    actor = 'matthew.suozzo'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Tests']
    creation = <Date 2021-03-12.01:53:43.131>
    creator = 'msuozzo'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 43478
    keywords = ['patch']
    message_count = 10.0
    messages = ['388532', '388753', '388755', '388766', '388767', '388769', '388878', '388880', '390690', '390743']
    nosy_count = 10.0
    nosy_names = ['gregory.p.smith', 'vstinner', 'cjw296', 'michael.foord', 'lisroach', 'mariocj89', 'pablogsal', 'xtreak', 'msuozzo', 'matthew.suozzo']
    pr_nums = ['25326', '25335', '25227', '31090']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue43478'
    versions = ['Python 3.10']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixestestsTests in the Lib/test dirtype-featureA feature request or enhancement

      Projects

      Status

      Done

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions