Skip to content

Commit

Permalink
Ensure process dispose
Browse files Browse the repository at this point in the history
  • Loading branch information
karthiknadig committed Jul 18, 2024
1 parent ae43c27 commit 8bd7345
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/test/pythonEnvironments/nativePythonFinder.unit.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ suite('Native Python Finder', () => {
sinon.restore();
});

suiteTeardown(() => {
finder.dispose();
});

test('Refresh should return python environments', async () => {
const envs = [];
for await (const env of finder.refresh()) {
Expand Down

0 comments on commit 8bd7345

Please sign in to comment.