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 1616from __future__ import annotations
1717
1818import os
19- import pathlib
2019import sys
20+ from pathlib import Path
2121
2222sys .path [0 :0 ] = ["" ]
2323
3232
3333# Location of JSON test specifications.
3434if _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" )
3636else :
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" )
3838
3939# Generate unified tests.
4040globals ().update (generate_test_classes (TEST_PATH , module = __name__ ))
Original file line number Diff line number Diff line change 1616from __future__ import annotations
1717
1818import os
19- import pathlib
2019import sys
20+ from pathlib import Path
2121
2222sys .path [0 :0 ] = ["" ]
2323
3232
3333# Location of JSON test specifications.
3434if _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" )
3636else :
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" )
3838
3939# Generate unified tests.
4040globals ().update (generate_test_classes (TEST_PATH , module = __name__ ))
You can’t perform that action at this time.
0 commit comments