Skip to content

Commit 097da2d

Browse files
Copilotkarthiknadig
andcommitted
Remove nose test support
Co-authored-by: karthiknadig <[email protected]>
1 parent 202c876 commit 097da2d

File tree

2 files changed

+0
-25
lines changed

2 files changed

+0
-25
lines changed

src/client/terminals/codeExecution/terminalReplWatcher.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ function checkREPLCommand(command: string): undefined | 'manualTerminal' | `runn
1313
(lower.startsWith('py ') && lower.includes(' -m pytest')) ||
1414
(lower.startsWith('python') && lower.includes(' -m unittest')) ||
1515
(lower.startsWith('py ') && lower.includes(' -m unittest')) ||
16-
(lower.startsWith('python') && lower.includes(' -m nose')) ||
17-
(lower.startsWith('py ') && lower.includes(' -m nose')) ||
1816
lower.includes('py.test')
1917
) {
2018
return 'runningTest';

src/test/terminals/codeExecution/terminalReplWatcher.unit.test.ts

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -97,29 +97,6 @@ suite('Terminal REPL Watcher', () => {
9797
expect(telemetryStub.args[0][0]).to.equal(EventName.UNITTEST_RUN_CLI);
9898
});
9999

100-
test('Should send unittest CLI telemetry when nose is invoked', () => {
101-
windowApisStub.callsFake((callback) => {
102-
callback({
103-
execution: {
104-
commandLine: {
105-
value: 'python -m nose',
106-
isTrusted: true
107-
}
108-
}
109-
});
110-
return {
111-
dispose: () => {
112-
// Do nothing
113-
}
114-
};
115-
});
116-
117-
registerTriggerForTerminalREPL([]);
118-
119-
expect(telemetryStub.calledOnce).to.be.true;
120-
expect(telemetryStub.args[0][0]).to.equal(EventName.UNITTEST_RUN_CLI);
121-
});
122-
123100
test('Should send unittest CLI telemetry when py.test is invoked', () => {
124101
windowApisStub.callsFake((callback) => {
125102
callback({

0 commit comments

Comments
 (0)