[pypy-commit] pypy py3k: object.__basicsize__ is an implementation detail.

amauryfa noreply at buildbot.pypy.org
Sun Dec 2 00:24:20 CET 2012


Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
Branch: py3k
Changeset: r59204:747c9398e246
Date: 2012-12-02 00:23 +0100
http://bitbucket.org/pypy/pypy/changeset/747c9398e246/

Log:	object.__basicsize__ is an implementation detail.

diff --git a/lib-python/3.2/test/test_types.py b/lib-python/3.2/test/test_types.py
--- a/lib-python/3.2/test/test_types.py
+++ b/lib-python/3.2/test/test_types.py
@@ -1,6 +1,6 @@
 # Python test set -- part 6, built-in types
 
-from test.support import run_unittest, run_with_locale
+from test.support import run_unittest, run_with_locale, impl_detail
 import unittest
 import sys
 import locale
@@ -564,6 +564,7 @@
         for code in 'xXobns':
             self.assertRaises(ValueError, format, 0, ',' + code)
 
+    @impl_detail("PyPy has no object.__basicsize__", pypy=False)
     def test_internal_sizes(self):
         self.assertGreater(object.__basicsize__, 0)
         self.assertGreater(tuple.__itemsize__, 0)


More information about the pypy-commit mailing list