File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 17
17
18
18
import asyncio
19
19
import os
20
- import pathlib
21
20
import socketserver
22
21
import sys
23
22
import threading
23
+ from pathlib import Path
24
24
25
25
sys .path [0 :0 ] = ["" ]
26
26
36
36
async_get_pool ,
37
37
async_wait_until ,
38
38
server_name_to_type ,
39
- wait_until ,
40
39
)
41
40
from unittest .mock import patch
42
41
62
61
63
62
# Location of JSON test specifications.
64
63
if _IS_SYNC :
65
- SDAM_PATH = os .path .join (pathlib . Path (__file__ ).resolve ().parent , "discovery_and_monitoring" )
64
+ SDAM_PATH = os .path .join (Path (__file__ ).resolve ().parent , "discovery_and_monitoring" )
66
65
else :
67
66
SDAM_PATH = os .path .join (
68
- pathlib . Path (__file__ ).resolve ().parent .parent ,
67
+ Path (__file__ ).resolve ().parent .parent ,
69
68
"discovery_and_monitoring" ,
70
69
)
71
70
Original file line number Diff line number Diff line change 17
17
18
18
import asyncio
19
19
import os
20
- import pathlib
21
20
import socketserver
22
21
import sys
23
22
import threading
23
+ from pathlib import Path
24
24
25
25
sys .path [0 :0 ] = ["" ]
26
26
61
61
62
62
# Location of JSON test specifications.
63
63
if _IS_SYNC :
64
- SDAM_PATH = os .path .join (pathlib . Path (__file__ ).resolve ().parent , "discovery_and_monitoring" )
64
+ SDAM_PATH = os .path .join (Path (__file__ ).resolve ().parent , "discovery_and_monitoring" )
65
65
else :
66
66
SDAM_PATH = os .path .join (
67
- pathlib . Path (__file__ ).resolve ().parent .parent ,
67
+ Path (__file__ ).resolve ().parent .parent ,
68
68
"discovery_and_monitoring" ,
69
69
)
70
70
You can’t perform that action at this time.
0 commit comments