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 16
16
from __future__ import annotations
17
17
18
18
import os
19
- import pathlib
20
19
import sys
21
20
import time
21
+ from pathlib import Path
22
22
23
23
sys .path [0 :0 ] = ["" ]
24
24
85
85
class AsyncTestCMAP (AsyncIntegrationTest ):
86
86
# Location of JSON test specifications.
87
87
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" )
89
89
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" )
93
91
94
92
# Test operations:
95
93
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
21
20
import time
21
+ from pathlib import Path
22
22
23
23
sys .path [0 :0 ] = ["" ]
24
24
85
85
class TestCMAP (IntegrationTest ):
86
86
# Location of JSON test specifications.
87
87
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" )
89
89
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" )
93
91
94
92
# Test operations:
95
93
You can’t perform that action at this time.
0 commit comments