Skip to content

Commit eb3122d

Browse files
committed
resolve merge conflict
1 parent 70629bf commit eb3122d

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

src/test/terminals/codeExecution/helper.test.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -233,10 +233,11 @@ suite('Terminal - Code Execution Helper', async () => {
233233
const normalizedExpected = expectedSource.replace(/\r\n/g, '\n');
234234
expect(normalizedCode).to.be.equal(normalizedExpected);
235235
}
236-
const pythonVersion = await getPythonSemVer();
237-
if (pythonVersion && pythonVersion.minor < 13) {
236+
237+
const pythonTestVersion = await getPythonSemVer();
238+
if (pythonTestVersion && pythonTestVersion.minor < 13) {
238239
['', '1', '2', '3', '4', '5', '6', '7', '8'].forEach((fileNameSuffix) => {
239-
test(`Ensure code is normalized (Sample${fileNameSuffix})`, async () => {
240+
test(`Ensure code is normalized (Sample${fileNameSuffix}) - Python < 3.13`, async () => {
240241
configurationService
241242
.setup((c) => c.getSettings(TypeMoq.It.isAny()))
242243
.returns({
@@ -255,6 +256,7 @@ suite('Terminal - Code Execution Helper', async () => {
255256
});
256257
});
257258
}
259+
258260
test("Display message if there's no active file", async () => {
259261
documentManager.setup((doc) => doc.activeTextEditor).returns(() => undefined);
260262

src/test/terminals/codeExecution/smartSend.test.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -168,11 +168,10 @@ suite('REPL - Smart Send', async () => {
168168
commandManager.verifyAll();
169169
});
170170

171-
const pythonVersion = await getPythonSemVer();
172-
console.log('Just printed pythoNVersion: \n');
173-
console.log(pythonVersion);
174-
if (pythonVersion && pythonVersion.minor < 13) {
175-
test('Smart send should perform smart selection and move cursor', async () => {
171+
const pythonTestVersion = await getPythonSemVer();
172+
173+
if (pythonTestVersion && pythonTestVersion.minor < 13) {
174+
test('Smart send should perform smart selection and move cursor - Python < 3.13', async () => {
176175
configurationService
177176
.setup((c) => c.getSettings(TypeMoq.It.isAny()))
178177
.returns({

0 commit comments

Comments
 (0)