void () { myFixture.copyDirectoryToProject("resolve/" + getTestName(false), ""); final PyTargetExpression target = assertResolvesTo(PyTargetExpression.class, "__name__"); assertEquals("ModuleType", target.getContainingClass().getName()); assertEquals("types.pyi", target.getContainingFile().getName()); }