diff options
author | Richard Oudkerk <shibturn@gmail.com> | 2013-11-17 17:24:11 (GMT) |
---|---|---|
committer | Richard Oudkerk <shibturn@gmail.com> | 2013-11-17 17:24:11 (GMT) |
commit | 8731d7b3c69beb226562c5fc2b382af9249fec5c (patch) | |
tree | 21f62074d340aaa694c09ffcb4a3846dc3459708 /Lib/test | |
parent | edcf8daaed24f1031b95a29aeef33f3b10c39571 (diff) | |
download | cpython-8731d7b3c69beb226562c5fc2b382af9249fec5c.zip cpython-8731d7b3c69beb226562c5fc2b382af9249fec5c.tar.gz cpython-8731d7b3c69beb226562c5fc2b382af9249fec5c.tar.bz2 |
Fix handling of SystemExit and exit code. Patch by Brodie Rao.
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_multiprocessing.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_multiprocessing.py b/Lib/test/test_multiprocessing.py index 86cf5c1..77ad0f7 100644 --- a/Lib/test/test_multiprocessing.py +++ b/Lib/test/test_multiprocessing.py @@ -467,7 +467,7 @@ class _TestSubclassingProcess(BaseTestCase): testfn = test.support.TESTFN self.addCleanup(test.support.unlink, testfn) - for reason, code in (([1, 2, 3], 1), ('ignore this', 0)): + for reason, code in (([1, 2, 3], 1), ('ignore this', 1)): p = self.Process(target=self._test_sys_exit, args=(reason, testfn)) p.daemon = True p.start() |