diff --git a/mypy/semanal.py b/mypy/semanal.py
--- a/mypy/semanal.py
+++ b/mypy/semanal.py
@@ -1894,10 +1894,14 @@ def process_imported_symbol(self,
                                 fullname: str,
                                 module_public: bool,
                                 context: ImportBase) -> None:
-        module_hidden = not module_public and not (
-            # `from package import module` should work regardless of whether package
-            # re-exports module
-            isinstance(node.node, MypyFile) and fullname in self.modules
+        module_hidden = not module_public and (
+            # `from package import submodule` should work regardless of whether package
+            # re-exports submodule, so we shouldn't hide it
+            not isinstance(node.node, MypyFile)
+            or fullname not in self.modules
+            # but given `from somewhere import random_unrelated_module` we should hide
+            # random_unrelated_module
+            or not fullname.startswith(self.cur_mod_id + ".")
         )
 
         if isinstance(node.node, PlaceholderNode):

diff --git a/test-data/unit/check-modules.test b/test-data/unit/check-modules.test
--- a/test-data/unit/check-modules.test
+++ b/test-data/unit/check-modules.test
@@ -1929,6 +1929,28 @@ from package import mod as mod
 from package import mod as internal_detail
 [builtins fixtures/module.pyi]
 
+[case testNoReExportUnrelatedModule]
+from mod2 import unrelated  # E: Module "mod2" has no attribute "unrelated"
+
+[file mod1/__init__.pyi]
+[file mod1/unrelated.pyi]
+x: int
+
+[file mod2.pyi]
+from mod1 import unrelated
+[builtins fixtures/module.pyi]
+
+[case testNoReExportUnrelatedSiblingPrefix]
+from pkg.unrel import unrelated  # E: Module "pkg.unrel" has no attribute "unrelated"
+
+[file pkg/__init__.pyi]
+[file pkg/unrelated.pyi]
+x: int
+
+[file pkg/unrel.pyi]
+from pkg import unrelated
+[builtins fixtures/module.pyi]
+
 [case testNoReExportChildStubs]
 import mod
 from mod import C, D  # E: Module "mod" has no attribute "C"

`from module import submodule` implicit reexport is allowed
**Bug Report**
`mypy --no-implicit-reexport` doesn't catch reexports written in the form of `from module import submodule`.

**To Reproduce**

```python
# pkg/lib.py

# implicit re-exports
import requests
import requests as demands
import requests.status_codes as requests_status_codes
from requests import Request

# implicit submodule re-export, but mypy doesn't care
from requests import status_codes
```

```python
# pkg/shell.py

from pkg.lib import requests, demands, requests_status_codes, Request, status_codes
```

**Expected Behavior**
I would expect each of those reexports to trigger an error.

**Actual Behavior**
`from requests import status_codes` is ignored.

```bash
❯ mypy --no-implicit-reexport pkg
pkg/shell.py:1: error: Module "pkg.lib" does not explicitly export attribute "requests"; implicit reexport disabled
pkg/shell.py:1: error: Module "pkg.lib" does not explicitly export attribute "demands"; implicit reexport disabled
pkg/shell.py:1: error: Module "pkg.lib" does not explicitly export attribute "requests_status_codes"; implicit reexport disabled
pkg/shell.py:1: error: Module "pkg.lib" does not explicitly export attribute "Request"; implicit reexport disabled
Found 4 errors in 1 file (checked 3 source files)
```

**Your Environment**

- Mypy version used: 0.942
- Mypy command-line flags: `--no-implicit-reexports`
- Mypy configuration options from `mypy.ini` (and other config files): None
- Python version used: 3.9.10
- Operating system and version: Arch Linux latest


mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testEllipsisDefaultArgValueInNonStub mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testConditionalFunctionDefinitionAndImports mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testAccessingUnknownModuleFromOtherModule mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testAccessImportedDefinitions0 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testTypeCheckWithUnknownModule mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testUnknownModuleImportedWithinFunction mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testAccessImportedDefinitions1 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testEllipsisDefaultArgValueInNonStubsOverload mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testUnknownModuleImportedWithinFunction2 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testTypeCheckWithUnknownModule2 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testAccessImportedDefinitions2 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testEllipsisDefaultArgValueInNonStubsMethods mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testTypeCheckWithUnknownModule3 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testImportedExceptionType mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testRelativeImports mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testStarImportOverlapping mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testTypeCheckWithUnknownModule4 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testImportedExceptionType2 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testRelativeImports2 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testStarImportOverlappingMismatch mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testTypeCheckWithUnknownModule5 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testImportWithinBlock mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testExportedValuesInImportAll mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testStarImportOverridingLocalImports mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testTypeCheckWithUnknownModuleUsingFromImport mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testImportWithinFunction mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testAllMustBeSequenceStr mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testTypeCheckWithUnknownModuleUsingImportStar mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testAssignToFuncDefViaImport mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testImportWithinMethod mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testAccessingUnknownModule mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testAllMustBeSequenceStr_python2 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testConditionalImportAndAssign mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testImportWithinClassBody mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testAccessingUnknownModule2 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testAllUnicodeSequenceOK_python2 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testAssignAndConditionalImport mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testImportWithinClassBody2 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testAccessingUnknownModule3 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testAssignAndConditionalStarImport mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testUnderscoreExportedValuesInImportAll mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testImportWithStub mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testAccessingNameImportedFromUnknownModule mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testRedefineImportedFunctionViaImport mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testEllipsisInitializerInStubFileWithType mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testImportWithStubIncompatibleType mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testAccessingNameImportedFromUnknownModule2 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testImportedVariableViaImport mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testEllipsisInitializerInStubFileWithoutType mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testInvalidOperationsOnModules mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testAccessingNameImportedFromUnknownModule3 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testRedefineFunctionViaImport mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testEllipsisInitializerInModule mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testUnknownModuleRedefinition mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testNameDefinedInDifferentModule mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testImportVariableAndAssignNone mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testEllipsisDefaultArgValueInStub mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testImportFunctionAndAssignFunction mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testImportFunctionAndAssignNone mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testEllipsisDefaultArgValueInStub2 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testImportFunctionAndAssignIncompatible mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testSuperclassInImportCycleReversedImports mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testChainedAssignmentAndImports mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testIdenticalImportFromTwice mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testAssignToFuncDefViaGlobalDecl2 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testPreferPackageOverFile mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testTypeCheckNamedModule5 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testIdenticalImportStarTwice mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testAssignToFuncDefViaNestedModules mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testTypeCheckNamedModuleWithImportCycle mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testPreferPackageOverFile2 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testDifferentImportSameNameTwice mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testAssignToFuncDefViaModule mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testCheckDecoratedFuncAsAnnotWithImportCycle mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testImportInClass mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testInheritFromBadImport mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testConditionalImportAndAssignNoneToModule mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testSubmoduleRegularImportAddsAllParents mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testIfFalseImport mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testImportSuppressedWhileAlmostSilent mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testConditionalImportAndAssignInvalidToModule mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testSubmoduleImportAsDoesNotAddParents mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testImportCycleStability1 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testAncestorSuppressedWhileAlmostSilent mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testImportAndAssignToModule mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testSubmoduleImportFromDoesNotAddParents mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testImportCycleStability2 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testTypeCheckNamedModule mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testStubImportNonStubWhileSilent mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testSubmoduleImportFromDoesNotAddParents2 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testImportCycleStability3 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testTypeCheckNamedModule2 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testSilentSubmoduleImport mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testSubmoduleRegularImportNotDirectlyAddedToParent mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testImportCycleStability4 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testTypeCheckNamedModule3 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testImportReExportFromChildrenInCycle1 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testSubmoduleMixingLocalAndQualifiedNames mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testImportCycleStability5 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testTypeCheckNamedModule4 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testImportReExportFromChildrenInCycle2 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testSubmoduleMixingImportFrom mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testDeferredClassContextUnannotated mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testImportCycleStability6_python2 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testSuperclassInImportCycle mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testScriptsAreModules mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testImportCycleStability7 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testSubmoduleMixingImportFromAndImport mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testScriptsAreNotModules mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testImportCycleStability8 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testClassImportAccessedInMethod mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testSubmoduleMixingImportFromAndImport2 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testSymmetricImportCycle1 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testTypeCheckPrio mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testModuleAlias mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testModuleAliasRepeated mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testSymmetricImportCycle2 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testClassModuleAlias mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testImportStarAliasAnyList mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testThreePassesRequired mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testModuleAliasRepeatedWithAnnotation mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testLocalModuleAlias mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testErrorInPassTwo1 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testImportStarAliasSimpleGeneric mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testModuleAliasRepeatedComplex mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testChainedModuleAlias mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testErrorInPassTwo2 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testImportStarAliasGeneric mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testModuleAliasToOtherModule mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testMultiModuleAlias mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testDeferredDecorator mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testImportStarAliasCallable mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testNoReExportFromStubs mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testModuleAliasWithExplicitAnnotation mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testDeferredClassContext mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testRevealType mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testNoReExportFromStubsMemberType mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testModuleAliasPassedToFunction mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testModuleAliasToQualifiedImport2 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testReExportChildStubs2 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testNoReExportFromStubsMemberVar mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testModuleLevelGetattrNotStub37 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testModuleLevelGetattr mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testReExportChildStubs3 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testReExportChildStubs mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testModuleLevelGetattribute mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testModuleLevelGetattrReturnType mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testModuleLevelGetattrImportFromAsTwice mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testModuleLevelGetattrImportFrom mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testModuleLevelGetattrInvalidSignature mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testModuleLevelGetattrAssignedGood mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testModuleLevelGetattrImportFromRetType mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testModuleLevelGetattrNotCallable mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testModuleLevelGetattrAssignedBad mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testModuleLevelGetattrImportFromNotStub36 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testModuleLevelGetattrUntyped mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testModuleLevelGetattrImportedGood mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testModuleLevelGetattrImportFromNotStub37 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testNoReExportChildStubs mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testModuleLevelGetattrNotStub36 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testModuleLevelGetattrImportedBad mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testNoReExportNestedStub mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testModuleLevelGetattrImportFromAs mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testIndirectFromImportWithinCycle1 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testFailedImportFromTwoModules mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testModuleAliasToQualifiedImport mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testIndirectStarImportWithinCycle2 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testIndirectFromImportWithinCycle2 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testModuleGetattrInit5 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testModuleGetattrInit1 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testModuleGetattrInit10PyProjectTOML mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testIndirectFromImportWithinCycleInPackage mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testModuleGetattrInit5a mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testModuleGetattrInit2 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testMultipleModulesInOverridePyProjectTOML mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testModuleGetattrInit3 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testIndirectFromImportWithinCycleInPackageIgnoredInit mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testModuleGetattrInit8 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testIndirectFromImportWithinCycleUsedAsBaseClass mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testModuleGetattrInit4 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testModuleGetattrInit8a mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testForwardReferenceToListAlias mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testImportFromReExportInCycleUsingRelativeImport1 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testIndirectStarImportWithinCycle1 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testModuleGetattrInit10 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testImportReExportedNamedTupleInCycle1 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testMissingSubmoduleImportedWithIgnoreMissingImports mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testImportReExportInCycleUsingRelativeImport2 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testModuleGetattrBusted2 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testFunctionWithInPlaceDunderName mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testImportReExportedNamedTupleInCycle2 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testMissingSubmoduleImportedWithIgnoreMissingImportsStub mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testNoGetattrInterference mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testClassicPackage mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testMissingSubmoduleImportedWithIgnoreMissingImportsNested mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testImportReExportedTypeAliasInCycle mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testFunctionWithDunderName mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testClassicNotPackage mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testFunctionWithReversibleDunderName mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testModuleGetattrBusted mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testImportCycleSpecialCase mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testNamespacePackage mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testNamespacePackagePlainImport mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testNamespacePackageWithMypyPath mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testNamespacePackagePickFirstOnMypyPath mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testModuleGetAttrAssignAny mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testModuleGetAttrAssignUnannotated mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testNamespacePackageWithMypyPathPyProjectTOML mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testNamespacePackageInsideClassicPackage mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testModuleGetAttrAssignError mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testModuleGetAttrAssignUnannotatedDouble mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testClassicPackageIgnoresEarlierNamespacePackage mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testClassicPackageInsideNamespacePackage mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testModuleGetAttrAssignSubmodule mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testAlwaysReportMissingAttributesOnFoundModules mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testModuleAttributeThreeSuggestions mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testModuleGetAttrAssignSubmoduleStrict mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testModuleAttributeTwoSuggestions mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testNoReExportFromMissingStubs mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testReExportAllInStub mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testMypyPathAndPython2Dir mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testMypyPathAndPython2Dir_python2 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testImportCycleSpecialCase2 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testDirectlyImportTypedDictObjectAtTopLevel mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testLimitLegacyStubErrorVolume mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testImportCycleSpecialCase3 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testDoNotLimitImportErrorVolume mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testDoNotLimitErrorVolumeIfNotImportErrors mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testPackagePath mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testUnlimitedStubErrorVolume mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testIgnoreErrorFromGoogleCloud mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testIgnoreErrorFromMissingStubs1 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testIgnoreErrorFromMissingStubs2 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testErrorFromGoogleCloud mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testMissingSubmoduleOfInstalledStubPackage mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testMissingSubmoduleOfInstalledStubPackageIgnored mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testCyclicUndefinedImportWithName mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testCyclicUndefinedImportWithStar1 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testCyclicUndefinedImportWithStar2 mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testCyclicUndefinedImportWithStar3
mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testNoReExportUnrelatedModule mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testNoReExportUnrelatedSiblingPrefix