File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 16
16
from __future__ import annotations
17
17
18
18
import os
19
- import pathlib
20
19
import sys
20
+ from pathlib import Path
21
21
22
22
sys .path [0 :0 ] = ["" ]
23
23
32
32
33
33
# Location of JSON test specifications.
34
34
if _IS_SYNC :
35
- TEST_PATH = os .path .join (pathlib . Path (__file__ ).resolve ().parent , "csot" )
35
+ TEST_PATH = os .path .join (Path (__file__ ).resolve ().parent , "csot" )
36
36
else :
37
- TEST_PATH = os .path .join (pathlib . Path (__file__ ).resolve ().parent .parent , "csot" )
37
+ TEST_PATH = os .path .join (Path (__file__ ).resolve ().parent .parent , "csot" )
38
38
39
39
# Generate unified tests.
40
40
globals ().update (generate_test_classes (TEST_PATH , module = __name__ ))
Original file line number Diff line number Diff line change 16
16
from __future__ import annotations
17
17
18
18
import os
19
- import pathlib
20
19
import sys
20
+ from pathlib import Path
21
21
22
22
sys .path [0 :0 ] = ["" ]
23
23
32
32
33
33
# Location of JSON test specifications.
34
34
if _IS_SYNC :
35
- TEST_PATH = os .path .join (pathlib . Path (__file__ ).resolve ().parent , "csot" )
35
+ TEST_PATH = os .path .join (Path (__file__ ).resolve ().parent , "csot" )
36
36
else :
37
- TEST_PATH = os .path .join (pathlib . Path (__file__ ).resolve ().parent .parent , "csot" )
37
+ TEST_PATH = os .path .join (Path (__file__ ).resolve ().parent .parent , "csot" )
38
38
39
39
# Generate unified tests.
40
40
globals ().update (generate_test_classes (TEST_PATH , module = __name__ ))
You can’t perform that action at this time.
0 commit comments