Author: Antonio Cuni <anto.c...@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 = []
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to