[pypy-svn] pypy default: Skip the whole SizeofTest class unless we are on CPython.

arigo commits-noreply at bitbucket.org
Thu Jan 20 18:39:32 CET 2011


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r41057:d9fbf846aaf7
Date: 2011-01-20 18:39 +0100
http://bitbucket.org/pypy/pypy/changeset/d9fbf846aaf7/

Log:	Skip the whole SizeofTest class unless we are on CPython.

diff --git a/lib-python/modified-2.7.0/test/test_sys.py b/lib-python/modified-2.7.0/test/test_sys.py
--- a/lib-python/modified-2.7.0/test/test_sys.py
+++ b/lib-python/modified-2.7.0/test/test_sys.py
@@ -478,6 +478,7 @@
         p.wait()
         self.assertIn(executable, ["''", repr(sys.executable)])
 
+ at unittest.skipUnless(test.test_support.check_impl_detail(), "sys.getsizeof()")
 class SizeofTest(unittest.TestCase):
 
     TPFLAGS_HAVE_GC = 1<<14


More information about the Pypy-commit mailing list