[pypy-commit] pypy py3.5: Skip tests using pythonapi
rlamy
pypy.commits at gmail.com
Tue Oct 3 07:43:41 EDT 2017
Author: Ronan Lamy <ronan.lamy at gmail.com>
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")
+ at cpython_only
class PythonValuesTestCase(unittest.TestCase):
"""This test only works when python itself is a dll/shared library"""
More information about the pypy-commit
mailing list