minimal adjustments
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-python / pythonFiles / testing_tools / run_adapter.py
1 # Copyright (c) Microsoft Corporation. All rights reserved.
2 # Licensed under the MIT License.
3
4 # Replace the "." entry.
5 import os.path
6 import sys
7 sys.path[0] = os.path.dirname(
8     os.path.dirname(
9         os.path.abspath(__file__)))
10
11 from testing_tools.adapter.__main__ import parse_args, main
12
13
14 if __name__ == '__main__':
15     tool, cmd, subargs, toolargs = parse_args()
16     main(tool, cmd, subargs, toolargs)