Skip to content

Commit b8b0d58

Browse files
Add a comment about the test discovery type aliases.
1 parent a96c7d0 commit b8b0d58

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/client/common/process/internal.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ import { PythonVersionInfo } from './types';
3232
// For each of those subdirectories there is a sub-namespace where
3333
// those scripts' functions may be found.
3434
//
35+
// In some cases one or more types related to a script are exported
36+
// from the same namespace in which the script's function is located.
37+
// These types typically relate to the return type of "parse()".
38+
//
3539
// ignored scripts:
3640
// * install_debugpy.py (used only for extension development)
3741
// * ptvsd_launcher.py (used only for the old debug adapter)

src/client/testing/common/services/types.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ import { Uri } from 'vscode';
77
import { scripts as internalScripts } from '../../../common/process/internal';
88
import { Tests } from '../types';
99

10+
// We expose these here as a convenience and to cut down on churn
11+
// elsewhere in the code.
1012
export type DiscoveredTests = internalScripts.testing_tools.DiscoveredTests;
1113
export type Test = internalScripts.testing_tools.Test;
1214
export type TestFolder = internalScripts.testing_tools.TestFolder;

0 commit comments

Comments
 (0)