Skip to content

Commit d760f4f

Browse files
Kartik Rajwesm
Kartik Raj
authored andcommitted
Skip watcher tests on Linux (microsoft/vscode-python#18151)
* Skip watcher tests on Linux * Fix lint
1 parent 2f0b9ec commit d760f4f

File tree

1 file changed

+4
-1
lines changed
  • extensions/positron-python/src/test/pythonEnvironments/base/locators/lowLevel

1 file changed

+4
-1
lines changed

extensions/positron-python/src/test/pythonEnvironments/base/locators/lowLevel/watcherTestUtils.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,10 @@ export function testLocatorWatcher(
151151
return items.some((item) => externalDeps.arePathsSame(item.executablePath, executable));
152152
}
153153

154-
suiteSetup(async () => {
154+
suiteSetup(async function () {
155+
if (getOSType() === OSType.Linux) {
156+
this.skip();
157+
}
155158
await venvs.cleanUp();
156159
});
157160
async function setupLocator(onChanged: (e: PythonEnvsChangedEvent) => Promise<void>) {

0 commit comments

Comments
 (0)