Author: Ronan Lamy <[email protected]>
Branch: py3.5
Changeset: r92568:011a075b1e24
Date: 2017-10-03 13:43 +0200
http://bitbucket.org/pypy/pypy/changeset/011a075b1e24/
Log: Skip tests using pythonapi
diff --git a/lib-python/3/ctypes/test/test_values.py
b/lib-python/3/ctypes/test/test_values.py
--- a/lib-python/3/ctypes/test/test_values.py
+++ b/lib-python/3/ctypes/test/test_values.py
@@ -4,6 +4,7 @@
import unittest
import sys
+from test.support import cpython_only
from ctypes import *
import _ctypes_test
@@ -28,6 +29,7 @@
ctdll = CDLL(_ctypes_test.__file__)
self.assertRaises(ValueError, c_int.in_dll, ctdll, "Undefined_Symbol")
+@cpython_only
class PythonValuesTestCase(unittest.TestCase):
"""This test only works when python itself is a dll/shared library"""
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit