Skip to content

Source file found twice under different module names #141

Closed
@jaraco

Description

@jaraco

Starting with mypy 0.990, when testing a module in a namespace, mypy starts emitting errors when it encounters that module:

 error: Source file found twice under different module names: "abode" and "jaraco.abode"

The issue almost certainly has the same root cause as pytest-dev/pytest#3396. Pytest is too reliant on the old assumption that a directory without an __init__.py is not a package, but that assumption doesn't hold since Python 3.3.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions