Author: Jean-Paul Calderone <exar...@twistedmatrix.com> Branch: py3.5 Changeset: r92129:2586878e1a3c Date: 2017-08-11 16:40 -0400 http://bitbucket.org/pypy/pypy/changeset/2586878e1a3c/
Log: A more precise assertion. diff --git a/pypy/interpreter/test/test_function.py b/pypy/interpreter/test/test_function.py --- a/pypy/interpreter/test/test_function.py +++ b/pypy/interpreter/test/test_function.py @@ -57,6 +57,10 @@ f, args = X.y.__reduce__() assert f(*args) == X.y + # This is perhaps overly specific. It's an attempt to be certain that + # pickle will actually work with this implementation. + assert f == getattr + assert args == (X, "y") def test_annotations(self): def f(): pass _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit