diff options
author | Giampaolo Rodola' <g.rodola@gmail.com> | 2013-01-14 01:24:25 (GMT) |
---|---|---|
committer | Giampaolo Rodola' <g.rodola@gmail.com> | 2013-01-14 01:24:25 (GMT) |
commit | 67da89446a0b3f008a15e6a510925921ca6f9303 (patch) | |
tree | 59449aad59df582e90c4571dc7961eb901882f2f /Lib/test/test_multiprocessing.py | |
parent | ed9e06cb21c4437aa87bb23c6509d3dd3274d0fc (diff) | |
download | cpython-67da89446a0b3f008a15e6a510925921ca6f9303.zip cpython-67da89446a0b3f008a15e6a510925921ca6f9303.tar.gz cpython-67da89446a0b3f008a15e6a510925921ca6f9303.tar.bz2 |
fix for previous commit related to issue 10527 which didn't have the intended effect as per http://bugs.python.org/issue10527#msg179895
Diffstat (limited to 'Lib/test/test_multiprocessing.py')
-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 bb09638..c38b314 100644 --- a/Lib/test/test_multiprocessing.py +++ b/Lib/test/test_multiprocessing.py @@ -3244,7 +3244,7 @@ class TestWait(unittest.TestCase): from multiprocessing.connection import wait expected = 3 - sorted_ = lambda l: sorted(l, key=lambda x: isinstance(x, int)) + sorted_ = lambda l: sorted(l, key=lambda x: id(x)) sem = multiprocessing.Semaphore(0) a, b = multiprocessing.Pipe() p = multiprocessing.Process(target=self.signal_and_sleep, |