Skip to content

Merge tests for typing.Callable and collection.abc.Callable #88957

Description

@serhiy-storchaka
BPO 44794
Nosy @gvanrossum, @serhiy-storchaka, @miss-islington, @Fidget-Spinner
PRs
  • bpo-44794: Merge tests for typing.Callable and collection.abc.Callable #27507
  • [3.10] bpo-44794: Merge tests for typing.Callable and collection.abc.Callable (GH-27507) #27514
  • 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-07-31.17:45:29.982>
    created_at = <Date 2021-07-31.12:40:30.980>
    labels = ['type-feature', 'tests', '3.10', '3.11']
    title = 'Merge tests for typing.Callable and collection.abc.Callable'
    updated_at = <Date 2021-07-31.17:50:01.825>
    user = 'https://github.com/serhiy-storchaka'

    bugs.python.org fields:

    activity = <Date 2021-07-31.17:50:01.825>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-07-31.17:45:29.982>
    closer = 'serhiy.storchaka'
    components = ['Tests']
    creation = <Date 2021-07-31.12:40:30.980>
    creator = 'serhiy.storchaka'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 44794
    keywords = ['patch']
    message_count = 3.0
    messages = ['398637', '398649', '398651']
    nosy_count = 4.0
    nosy_names = ['gvanrossum', 'serhiy.storchaka', 'miss-islington', 'kj']
    pr_nums = ['27507', '27514']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue44794'
    versions = ['Python 3.10', 'Python 3.11']

    Activity

    1. serhiy-storchaka commented on Jul 31, 2021

      @serhiy-storchaka
      MemberAuthor

      The proposed PR merges tests for typing.Callable (in test_typing.py) and collection.abc.Callable (in test_genericalias.py). All old tests are now executed for both implementations.

      It has exposed a bug in typing.Callable (see bpo-44793) and minor bug in error message for collection.abc.Callable (missed space). It will help to support consistency of implementations in future.

    2. serhiy-storchaka commented on Jul 31, 2021

      @serhiy-storchaka
      MemberAuthor

      New changeset be4cb90 by Serhiy Storchaka in branch 'main':
      bpo-44794: Merge tests for typing.Callable and collection.abc.Callable (GH-27507)
      be4cb90

    3. miss-islington commented on Jul 31, 2021

      @miss-islington
      Contributor

      New changeset 76903ff by Miss Islington (bot) in branch '3.10':
      bpo-44794: Merge tests for typing.Callable and collection.abc.Callable (GH-27507)
      76903ff

    4. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10 (EOL)end of life3.11only security fixestestsTests in the Lib/test dirtype-featureA feature request or enhancement

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions