1. Pypy
  2. Untitled project
  3. pypy

Commits

Amaury Forgeot d'Arc  committed 747c939

object.__basicsize__ is an implementation detail.

  • Participants
  • Parent commits b201dd3
  • Branches py3k

Comments (0)

Files changed (1)

File lib-python/3.2/test/test_types.py

View file
 # 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
         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)