[pypy-svn] pypy fast-forward: Skip a test: pypy does not store attribute names in __dict__.

amauryfa commits-noreply at bitbucket.org
Tue Jan 4 14:54:00 CET 2011

Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
Branch: fast-forward
Changeset: r40381:23cc5a114444
Date: 2011-01-04 13:40 +0100

Log:	Skip a test: pypy does not store attribute names in __dict__.
	__dict__.keys() returns different objects every time.

diff --git a/lib-python/modified-2.7.0/test/pickletester.py b/lib-python/modified-2.7.0/test/pickletester.py
--- a/lib-python/modified-2.7.0/test/pickletester.py
+++ b/lib-python/modified-2.7.0/test/pickletester.py
@@ -6,7 +6,7 @@
 import pickletools
 import copy_reg
-from test.test_support import TestFailed, have_unicode, TESTFN
+from test.test_support import TestFailed, have_unicode, TESTFN, impl_detail
 # Tests that try a number of pickle protocols should have a
 #     for proto in protocols:
@@ -949,6 +949,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.

More information about the Pypy-commit mailing list