mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fixed PY-2807 Running and re-running single test cases or test methods from nosetests runner
This commit is contained in:
@@ -50,7 +50,7 @@ abstract public class PythonTestConfigurationProducer extends RuntimeConfigurati
|
||||
settings = createConfigurationFromFolder(location);
|
||||
if (settings != null) return settings;
|
||||
|
||||
final PyElement pyElement = PsiTreeUtil.getParentOfType(location.getPsiElement(), PyElement.class);
|
||||
final PyElement pyElement = PsiTreeUtil.getParentOfType(location.getPsiElement(), PyElement.class, false);
|
||||
if (pyElement != null) {
|
||||
settings = createConfigurationFromFunction(location, pyElement);
|
||||
if (settings != null) return settings;
|
||||
|
||||
Reference in New Issue
Block a user