File tree Expand file tree Collapse file tree 1 file changed +2
-11
lines changed
pythonFiles/unittestadapter Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Original file line number Diff line number Diff line change 12
12
13
13
script_dir = pathlib .Path (__file__ ).parent .parent
14
14
sys .path .append (os .fspath (script_dir ))
15
- sys .path .append (os .fspath (script_dir / "lib" / "python" ))
16
-
17
- from typing_extensions import Literal
18
-
19
- # Add the path to pythonFiles to sys.path to find testing_tools.socket_manager.
20
- PYTHON_FILES = pathlib .Path (__file__ ).parent .parent
21
- sys .path .insert (0 , os .fspath (PYTHON_FILES ))
15
+ sys .path .insert (0 , os .fspath (script_dir / "lib" / "python" ))
22
16
23
17
from testing_tools import socket_manager
24
18
25
19
# If I use from utils then there will be an import error in test_discovery.py.
26
20
from unittestadapter .utils import TestNode , build_test_tree , parse_unittest_args
27
21
28
- # Add the lib path to sys.path to find the typing_extensions module.
29
- sys .path .insert (0 , os .path .join (PYTHON_FILES , "lib" , "python" ))
30
-
31
- from typing_extensions import NotRequired , TypedDict
22
+ from typing_extensions import NotRequired , TypedDict , Literal
32
23
33
24
DEFAULT_PORT = "45454"
34
25
You can’t perform that action at this time.
0 commit comments