comparison mercurial/testing/ps_util.py @ 52382:d4e30c15626d

typing: add missing `from __future__ import annotations` to core modules
author Matt Harbison <matt_harbison@yahoo.com>
date Fri, 29 Nov 2024 19:18:33 -0500
parents 625cf9621551
children
comparison
equal deleted inserted replaced
52381:662b08ac9869 52382:d4e30c15626d
1 # This python code can be imported into tests in order to terminate a process 1 # This python code can be imported into tests in order to terminate a process
2 # with signal.SIGKILL on posix, or a roughly equivalent procedure on Windows. 2 # with signal.SIGKILL on posix, or a roughly equivalent procedure on Windows.
3
4 from __future__ import annotations
5
3 import os 6 import os
4 import signal 7 import signal
5 import subprocess 8 import subprocess
6 import sys 9 import sys
7 import tempfile 10 import tempfile