Skip to content

Don't use non-generic tuple etc. in stubs #3309

Open
@JukkaL

Description

@JukkaL

Many test fixtures use class tuple: pass or similar for list/dict (there may be others) even though these classes should be generic. If the corresponding Instance isn't generic, mypy may crash in some cases. We'd like to be able to assert that these are always generic without breaking tests. We should update the fixtures to make these always generic.

More discussion at #3305.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions