mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Issue #13841: Make child processes exit using sys.exit() on Windows
This commit is contained in:
parent
bc07cb883e
commit
73d9a292ae
6 changed files with 54 additions and 55 deletions
|
@ -1564,6 +1564,11 @@ class _TestMyManager(BaseTestCase):
|
|||
|
||||
manager.shutdown()
|
||||
|
||||
# If the manager process exited cleanly then the exitcode
|
||||
# will be zero. Otherwise (after a short timeout)
|
||||
# terminate() is used, resulting in an exitcode of -SIGTERM.
|
||||
self.assertEqual(manager._process.exitcode, 0)
|
||||
|
||||
#
|
||||
# Test of connecting to a remote server and using xmlrpclib for serialization
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue