core/tools+test: make process and path checks Windows-portable

Use sys.executable for process tests; normalize denylist/glob paths; skip readline when missing.
This commit is contained in:
2026-07-15 20:20:25 +08:00
parent e1547a242c
commit fbba2c2a14
6 changed files with 58 additions and 27 deletions
-5
View File
@@ -1,9 +1,4 @@
"""Stubs for pywinpty (ConPTY) matching winpty.PtyProcess runtime API."""
from __future__ import annotations
from collections.abc import Sequence
from typing import Any
class PtyProcess:
exitstatus: int | None