Skip to content

Commit afeaea2

Browse files
authored
bpo-40094: Add missing import to wait_process() (GH-19268)
1 parent 6b982c2 commit afeaea2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Lib/test/support/__init__.py

+2
Original file line numberDiff line numberDiff line change
@@ -3414,6 +3414,8 @@ def wait_process(pid, *, exitcode, timeout=None):
34143414
AssertionError. The timeout feature is not available on Windows.
34153415
"""
34163416
if os.name != "nt":
3417+
import signal
3418+
34173419
if timeout is None:
34183420
timeout = SHORT_TIMEOUT
34193421
t0 = time.monotonic()

0 commit comments

Comments
 (0)