Author: Mark Young <[email protected]>
Branch: py3k
Changeset: r84441:41ca20fe9080
Date: 2016-05-14 19:52 -0400
http://bitbucket.org/pypy/pypy/changeset/41ca20fe9080/
Log: Restore 975377190519 and 177135a9fa92, making the two pickle test
suites pass.
diff --git a/lib-python/3/test/pickletester.py
b/lib-python/3/test/pickletester.py
--- a/lib-python/3/test/pickletester.py
+++ b/lib-python/3/test/pickletester.py
@@ -9,7 +9,7 @@
from test.support import (
TestFailed, TESTFN, run_with_locale, no_tracing,
- _2G, _4G, bigmemtest, check_impl_detail
+ _2G, _4G, bigmemtest, check_impl_detail, impl_detail
)
from pickle import bytes_types
@@ -1203,6 +1203,7 @@
"Failed protocol %d: %r != %r"
% (proto, obj, loaded))
+ @impl_detail("pypy does not store attribute names", pypy=False)
def test_attribute_name_interning(self):
# Test that attribute names of pickled objects are interned when
# unpickling.
@@ -1244,6 +1245,7 @@
self.assertEqual(loaded.end, 1)
self.assertEqual(loaded.reason, "bad")
+ @impl_detail("This test is too strong indeed", pypy=False)
def test_pickle_to_2x(self):
# Pickle non-trivial data with protocol 2, expecting that it yields
# the same result as Python 2.x did.
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit