void (@NotNull String relativePath, @NotNull String text, @NotNull Consumer<VirtualFile> fileConsumer) { final Sdk sdk = PythonSdkUtil.findPythonSdk(myFixture.getModule()); final VirtualFile skeletonsDir = PythonSdkUtil.findSkeletonsDir(sdk); if (skeletonsDir != null) { runWithAdditionalFileIn(relativePath, text, skeletonsDir, fileConsumer); } else { createAdditionalRootAndRunWithIt( sdk, PythonSdkUtil.SKELETON_DIR_NAME, PythonSdkUtil.BUILTIN_ROOT_TYPE, root -> runWithAdditionalFileIn(relativePath, text, root, fileConsumer) ); } }