summaryrefslogtreecommitdiff
path: root/python/src/com/jetbrains/python/testing/pytest/PyTestCommandLineState.java
diff options
context:
space:
mode:
Diffstat (limited to 'python/src/com/jetbrains/python/testing/pytest/PyTestCommandLineState.java')
-rw-r--r--python/src/com/jetbrains/python/testing/pytest/PyTestCommandLineState.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/src/com/jetbrains/python/testing/pytest/PyTestCommandLineState.java b/python/src/com/jetbrains/python/testing/pytest/PyTestCommandLineState.java
index 3637f37ca91c..581e688de1d5 100644
--- a/python/src/com/jetbrains/python/testing/pytest/PyTestCommandLineState.java
+++ b/python/src/com/jetbrains/python/testing/pytest/PyTestCommandLineState.java
@@ -81,7 +81,7 @@ public class PyTestCommandLineState extends PythonTestCommandLineStateBase {
protected ConsoleView createAndAttachConsole(Project project, ProcessHandler processHandler, Executor executor)
throws ExecutionException {
final ConsoleView consoleView = super.createAndAttachConsole(project, processHandler, executor);
- consoleView.addMessageFilter(new PyTestTracebackFilter(project, myConfiguration.getWorkingDirectory()));
+ addTracebackFilter(project, consoleView, processHandler);
return consoleView;
}
}