[pypy-commit] pypy py3k: split this test into two parts; fix the first, and skip the second (maybe we should just kill it?)

antocuni noreply at buildbot.pypy.org
Fri Feb 24 15:12:02 CET 2012


Author: Antonio Cuni <anto.cuni at gmail.com>
Branch: py3k
Changeset: r52857:64d3ae567ff2
Date: 2012-02-24 11:34 +0100
http://bitbucket.org/pypy/pypy/changeset/64d3ae567ff2/

Log:	split this test into two parts; fix the first, and skip the second
	(maybe we should just kill it?)

diff --git a/pypy/interpreter/test/test_zzpickle_and_slow.py b/pypy/interpreter/test/test_zzpickle_and_slow.py
--- a/pypy/interpreter/test/test_zzpickle_and_slow.py
+++ b/pypy/interpreter/test/test_zzpickle_and_slow.py
@@ -459,8 +459,10 @@
         meth1(1)
         meth2(2)
         assert a_list == [1, 1]
-        assert meth2.im_self == [1, 2]
+        assert meth2.__self__ == [1, 2]
 
+    def test_pickle_builtin_method_unbound(self):
+        skip('we no longer have unbound methods in py3k: is this test still valid?')
         unbound_meth = list.append
         unbound_meth2 = pickle.loads(pickle.dumps(unbound_meth))
         l = []


More information about the pypy-commit mailing list