Skip to content

inspect.iscorutinefunction() returns False for unittest.mock.AsyncMock instances#84753

@moriyoshi

Description

@moriyoshi
mannequin
BPO40573
Nosy@moriyoshi, @1st1, @lisroach, @tirkarthi, @iritkatriel

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=Noneclosed_at=Nonecreated_at=<Date2020-05-09.03:14:11.981>labels= ['3.8', 'type-bug', 'library', '3.9', '3.10'] title='inspect.iscorutinefunction() returns False for unittest.mock.AsyncMock instances'updated_at=<Date2020-08-25.16:22:34.440>user='https://github.com/moriyoshi'

bugs.python.org fields:

activity=<Date2020-08-25.16:22:34.440>actor='iritkatriel'assignee='none'closed=Falseclosed_date=Nonecloser=Nonecomponents= ['Library (Lib)'] creation=<Date2020-05-09.03:14:11.981>creator='moriyoshi'dependencies= [] files= [] hgrepos= [] issue_num=40573keywords= [] message_count=3.0messages= ['368497', '368498', '375886'] nosy_count=5.0nosy_names= ['moriyoshi', 'yselivanov', 'lisroach', 'xtreak', 'iritkatriel'] pr_nums= [] priority='normal'resolution=Nonestage=Nonestatus='open'superseder=Nonetype='behavior'url='https://bugs.python.org/issue40573'versions= ['Python 3.8', 'Python 3.9', 'Python 3.10']

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions