File tree Expand file tree Collapse file tree 2 files changed +6
-10
lines changed
Expand file tree Collapse file tree 2 files changed +6
-10
lines changed Original file line number Diff line number Diff line change 1616from __future__ import annotations
1717
1818import os
19- import pathlib
2019import sys
2120import time
21+ from pathlib import Path
2222
2323sys .path [0 :0 ] = ["" ]
2424
8585class AsyncTestCMAP (AsyncIntegrationTest ):
8686 # Location of JSON test specifications.
8787 if _IS_SYNC :
88- TEST_PATH = os .path .join (pathlib . Path (__file__ ).resolve ().parent , "connection_monitoring" )
88+ TEST_PATH = os .path .join (Path (__file__ ).resolve ().parent , "connection_monitoring" )
8989 else :
90- TEST_PATH = os .path .join (
91- pathlib .Path (__file__ ).resolve ().parent .parent , "connection_monitoring"
92- )
90+ TEST_PATH = os .path .join (Path (__file__ ).resolve ().parent .parent , "connection_monitoring" )
9391
9492 # Test operations:
9593
Original file line number Diff line number Diff line change 1616from __future__ import annotations
1717
1818import os
19- import pathlib
2019import sys
2120import time
21+ from pathlib import Path
2222
2323sys .path [0 :0 ] = ["" ]
2424
8585class TestCMAP (IntegrationTest ):
8686 # Location of JSON test specifications.
8787 if _IS_SYNC :
88- TEST_PATH = os .path .join (pathlib . Path (__file__ ).resolve ().parent , "connection_monitoring" )
88+ TEST_PATH = os .path .join (Path (__file__ ).resolve ().parent , "connection_monitoring" )
8989 else :
90- TEST_PATH = os .path .join (
91- pathlib .Path (__file__ ).resolve ().parent .parent , "connection_monitoring"
92- )
90+ TEST_PATH = os .path .join (Path (__file__ ).resolve ().parent .parent , "connection_monitoring" )
9391
9492 # Test operations:
9593
You can’t perform that action at this time.
0 commit comments