Skip to content

fine-grained checking with cache misses deleted module imported with import from #4698

Open
@msullivan

Description

@msullivan

The testDeletionOfSubmoduleTriggersImportFrom1-skip-nocache test only passes because the current testfinegrained harness reports p/q.py as changed. The actual daemon fails to detect the change, however, as it never knows to care about p/q.py in the first place.

[case testDeletionOfSubmoduleTriggersImportFrom1-skip-nocache]
-- Different cache/no-cache tests because:
-- missing module error message mismatch
from p import q
[file p/__init__.py]
[file p/q.py]
[delete p/q.py.2]
[file p/q.py.3]
[out]
==
main:1: error: Cannot find module named 'p.q'
main:1: note: (Perhaps setting MYPYPATH or using the "--ignore-missing-imports" flag would help)
==

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions