8000 Revert "Correctly log unit test error logs (#10120)" · microsoft/vscode-python@d4b848e · GitHub
[go: up one dir, main page]

Skip to content

Commit d4b848e

Browse files
author
Kartik Raj
authored
Revert "Correctly log unit test error logs (#10120)"
This reverts commit 4f276d2.
1 parent 3cf2872 commit d4b848e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/client/testing/unittest/runner.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import { inject, injectable } from 'inversify';
44
import * as path from 'path';
55
import { EXTENSION_ROOT_DIR } from '../../common/constants';
6-
import { traceError, traceInfo } from '../../common/logger';
6+
import { traceError } from '../../common/logger';
77
import { IDisposableRegistry } from '../../common/types';
88
import { createDeferred, Deferred } from '../../common/utils/async';
99
import { noop } from '../../common/utils/misc';
@@ -74,8 +74,8 @@ export class TestManagerRunner implements ITestManagerRunner {
7474
options.tests.summary.skipped = 0;
7575
let failFast = false;
7676
const testLauncherFile = path.join(EXTENSION_ROOT_DIR, 'pythonFiles', 'visualstudio_py_testlauncher.py');
77-
this.server.on('error', traceError);
78-
this.server.on('log', (message: string, ...data: string[]) => traceInfo(`${message} ${data.join(' ')}`));
77+
this.server.on('error', (message: string, ...data: string[]) => traceError(`${message} ${data.join(' ')}`));
78+
this.server.on('log', noop);
7979
this.server.on('connect', noop);
8080
this.server.on('start', noop);
8181
this.server.on('result', (data: ITestData) => {

0 commit comments

Comments
 (0)
0