mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Marked keystrokes with the :kbd: role.
Fixed the case of the "Ctrl-" prefixes.
This commit is contained in:
commit
153627c111
19 changed files with 32 additions and 32 deletions
|
@ -1786,7 +1786,7 @@ class Win32KillTests(unittest.TestCase):
|
|||
os.kill(proc.pid, signal.SIGINT)
|
||||
self.fail("subprocess did not stop on {}".format(name))
|
||||
|
||||
@unittest.skip("subprocesses aren't inheriting CTRL+C property")
|
||||
@unittest.skip("subprocesses aren't inheriting Ctrl+C property")
|
||||
def test_CTRL_C_EVENT(self):
|
||||
from ctypes import wintypes
|
||||
import ctypes
|
||||
|
@ -1799,7 +1799,7 @@ class Win32KillTests(unittest.TestCase):
|
|||
SetConsoleCtrlHandler.restype = wintypes.BOOL
|
||||
|
||||
# Calling this with NULL and FALSE causes the calling process to
|
||||
# handle CTRL+C, rather than ignore it. This property is inherited
|
||||
# handle Ctrl+C, rather than ignore it. This property is inherited
|
||||
# by subprocesses.
|
||||
SetConsoleCtrlHandler(NULL, 0)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue