Skip to content

flake8 failure for overload #5770

@RonnyPfannschmidt

Description

@RonnyPfannschmidt

followup to #5769

linting failed with

flake8...................................................................Failed
hookid: flake8

src/_pytest/python_api.py:16:1: TYP002 @overload is broken in <3.5.2, add `if sys.version_info < (3, 5, 2): def overload(f): return f`
src/_pytest/recwarn.py:10:1: TYP002 @overload is broken in <3.5.2, add `if sys.version_info < (3, 5, 2): def overload(f): return f`

i suspect a false positive due to the introduced compat import

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: infrastructureimprovement to development/releases/CI structure

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions