Skip to content

Commit 8806d27

Browse files
committed
formatting & linting
1 parent d1ae170 commit 8806d27

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

python_files/tests/pytestadapter/helpers.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -394,12 +394,6 @@ def generate_random_pipe_name(prefix=""):
394394
return os.path.join(tempfile.gettempdir(), f"{prefix}-{random_suffix}") # noqa: PTH118
395395

396396

397-
async def create_fifo(pipe_name: str) -> None:
398-
# Create the FIFO (named pipe) if it doesn't exist
399-
if not pathlib.Path.exists(pipe_name):
400-
os.mkfifo(pipe_name)
401-
402-
403397
class UnixPipeServer:
404398
def __init__(self, name):
405399
self.name = name

python_files/unittestadapter/pvsc_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ def parse_unittest_args(
307307

308308

309309
def send_post_request(
310-
payload: ExecutionPayloadDict | DiscoveryPayloadDict | CoveragePayloadDict,
310+
payload: Union[ExecutionPayloadDict, DiscoveryPayloadDict, CoveragePayloadDict],
311311
test_run_pipe: Optional[str],
312312
):
313313
"""

src/client/common/pipes/namedPipes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ export async function createReaderPipe(pipeName: string, token?: CancellationTok
171171
server.listen(pipeName);
172172
if (token) {
173173
token.onCancellationRequested(() => {
174-
if (server.listening) {
174+
if (server.listening) {
175175
server.close();
176176
}
177177
deferred.reject(new CancellationError());

0 commit comments

Comments
 (0)