[pypy-commit] pypy cpyext-ext: make test more complete, now fails

mattip pypy.commits at gmail.com
Fri Jan 15 09:33:59 EST 2016


Author: mattip <matti.picus at gmail.com>
Branch: cpyext-ext
Changeset: r81799:07e8b87a262b
Date: 2016-01-15 16:06 +0200
http://bitbucket.org/pypy/pypy/changeset/07e8b87a262b/

Log:	make test more complete, now fails

diff --git a/pypy/module/cpyext/test/test_typeobject.py b/pypy/module/cpyext/test/test_typeobject.py
--- a/pypy/module/cpyext/test/test_typeobject.py
+++ b/pypy/module/cpyext/test/test_typeobject.py
@@ -57,12 +57,6 @@
         assert module.fooType.object_member.__doc__ == "A Python object."
         for m in dir(module.fooType):
             obj = getattr(module.fooType, m)
-            if 'getset' in str(type(obj)):
-                # segfaults
-                continue
-            if 'type' in str(type(obj)):
-                # leaks a None reference
-                continue
             docstring = obj.__doc__
             if not docstring:
                 raises(RuntimeError, module.cmp_docstring, obj, 'random')


More information about the pypy-commit mailing list