[pypy-commit] pypy stdlib-2.7.12: needs a tuple per a4a7312e476a

pjenvey pypy.commits at gmail.com
Sun Oct 2 23:28:52 EDT 2016


Author: Philip Jenvey <pjenvey at underboss.org>
Branch: stdlib-2.7.12
Changeset: r87533:97f0df00aa70
Date: 2016-10-02 20:24 -0700
http://bitbucket.org/pypy/pypy/changeset/97f0df00aa70/

Log:	needs a tuple per a4a7312e476a

diff --git a/pypy/module/test_lib_pypy/test_functools.py b/pypy/module/test_lib_pypy/test_functools.py
--- a/pypy/module/test_lib_pypy/test_functools.py
+++ b/pypy/module/test_lib_pypy/test_functools.py
@@ -13,7 +13,7 @@
 
 def test_partial_setstate():
     partial = _functools.partial(object)
-    partial.__setstate__([test_partial_setstate, (), None, None])
+    partial.__setstate__((test_partial_setstate, (), None, None))
     assert partial.func == test_partial_setstate
 
 def test_partial_pickle():


More information about the pypy-commit mailing list