[pypy-commit] pypy stdlib-2.7.4: fix for a new test in test_multiprocessing.py

bdkearns noreply at buildbot.pypy.org
Thu Jan 31 11:13:28 CET 2013


Author: Brian Kearns <bdkearns at gmail.com>
Branch: stdlib-2.7.4
Changeset: r60755:6b3d7106d645
Date: 2013-01-31 03:41 -0500
http://bitbucket.org/pypy/pypy/changeset/6b3d7106d645/

Log:	fix for a new test in test_multiprocessing.py

diff --git a/lib-python/2.7/test/test_multiprocessing.py b/lib-python/2.7/test/test_multiprocessing.py
--- a/lib-python/2.7/test/test_multiprocessing.py
+++ b/lib-python/2.7/test/test_multiprocessing.py
@@ -1196,7 +1196,9 @@
         p.join()
 
 def unpickleable_result():
-    return lambda: 42
+    class C:
+        pass
+    return C
 
 class _TestPoolWorkerErrors(BaseTestCase):
     ALLOWED_TYPES = ('processes', )


More information about the pypy-commit mailing list