diff --git a/python/src/com/jetbrains/python/testing/PyIntegratedToolsProjectConfigurator.java b/python/src/com/jetbrains/python/testing/PyIntegratedToolsProjectConfigurator.java index 8cf525865f0f..f0d866528bd1 100644 --- a/python/src/com/jetbrains/python/testing/PyIntegratedToolsProjectConfigurator.java +++ b/python/src/com/jetbrains/python/testing/PyIntegratedToolsProjectConfigurator.java @@ -87,7 +87,7 @@ public class PyIntegratedToolsProjectConfigurator implements DirectoryProjectCon //try to find test_runner import final String extension = PythonFileType.INSTANCE.getDefaultExtension(); // Module#getModuleScope() and GlobalSearchScope#getModuleScope() search only in source roots - final GlobalSearchScope searchScope = module.getModuleContentScope(); + final GlobalSearchScope searchScope = module.getModuleScope(); final Collection pyFiles = FilenameIndex.getAllFilesByExt(module.getProject(), extension, searchScope); for (VirtualFile file : pyFiles) { if (file.getName().startsWith("test")) {