Mercurial > public > mercurial-scm > hg-stable
diff 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 |
line wrap: on
line diff
--- a/mercurial/testing/ps_util.py Fri Nov 29 19:11:30 2024 -0500 +++ b/mercurial/testing/ps_util.py Fri Nov 29 19:18:33 2024 -0500 @@ -1,5 +1,8 @@ # This python code can be imported into tests in order to terminate a process # with signal.SIGKILL on posix, or a roughly equivalent procedure on Windows. + +from __future__ import annotations + import os import signal import subprocess