Author: Matti Picus <[email protected]>
Branch: py3k
Changeset: r85413:f9fa8c5ea722
Date: 2016-06-27 21:05 +0300
http://bitbucket.org/pypy/pypy/changeset/f9fa8c5ea722/

Log:    fix, enable tests

diff --git a/pypy/module/cpyext/test/test_bytesobject.py 
b/pypy/module/cpyext/test/test_bytesobject.py
--- a/pypy/module/cpyext/test/test_bytesobject.py
+++ b/pypy/module/cpyext/test/test_bytesobject.py
@@ -28,7 +28,7 @@
                  int result = PyBytes_Size(s);
 
                  Py_DECREF(s);
-                 return PyBool_FromLong(result);
+                 return PyLong_FromLong(result);
              """),
             ("test_Size_exception", "METH_NOARGS",
              """
diff --git a/pypy/module/cpyext/test/test_structseq.py 
b/pypy/module/cpyext/test/test_structseq.py
--- a/pypy/module/cpyext/test/test_structseq.py
+++ b/pypy/module/cpyext/test/test_structseq.py
@@ -6,7 +6,6 @@
 
 class AppTestStructSeq(AppTestCpythonExtensionBase):
     def test_StructSeq(self):
-        skip("XXX: https://bugs.pypy.org/issue1557";)
         module = self.import_extension('foo',
         prologue="""
             #include <structseq.h>
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to