dotfiles/vscode/.vscode/extensions/donjayamanne.python-environment-manager-1.2.4/pythonFiles/testing_tools/run_adapter.py
Errol Sancaktar ff17c17e23 vscode
2024-06-14 09:31:58 -06:00

23 lines
508 B
Python

# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
# Replace the "." entry.
import os.path
import sys
sys.path.insert(
1,
os.path.dirname( # pythonFiles
os.path.dirname( # pythonFiles/testing_tools
os.path.abspath(__file__) # this file
)
),
)
from testing_tools.adapter.__main__ import parse_args, main
if __name__ == "__main__":
tool, cmd, subargs, toolargs = parse_args()
main(tool, cmd, subargs, toolargs)