Skip to content

Commit 9feabf9

Browse files
author
Kartik Raj
committed
s
1 parent daad39a commit 9feabf9

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/test/pythonEnvironments/discovery/locators/windowsKnownPathsLocator.functional.test.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,16 @@ suite('Python envs locator - WindowsPathEnvVarLocator', async () => {
6868
<py.exe>
6969
`.trimEnd();
7070

71-
suiteSetup(async () => {
72-
await ensureFSTree(dataTree, __dirname);
73-
});
74-
setup(async function () {
71+
suiteSetup(async function () {
7572
if (!IS_WINDOWS) {
7673
if (!process.env.PVSC_TEST_FORCE) {
7774
this.skip();
7875
}
76+
}
77+
await ensureFSTree(dataTree, __dirname);
78+
});
79+
setup(async () => {
80+
if (!IS_WINDOWS) {
7981
// eslint-disable-next-line global-require
8082
const platformAPI = require('../../../../../client/common/utils/platform');
8183
const stub = sinon.stub(platformAPI, 'getOSType');

0 commit comments

Comments
 (0)