Issue #25622: Merge ctypes test from 3.4 into 3.5

This commit is contained in:
Martin Panter 2015-11-26 10:26:33 +00:00
commit 7b2eb81997

View file

@ -28,8 +28,7 @@ class ValuesTestCase(unittest.TestCase):
ctdll = CDLL(_ctypes_test.__file__)
self.assertRaises(ValueError, c_int.in_dll, ctdll, "Undefined_Symbol")
@unittest.skipUnless(sys.platform == 'win32', 'Windows-specific test')
class Win_ValuesTestCase(unittest.TestCase):
class PythonValuesTestCase(unittest.TestCase):
"""This test only works when python itself is a dll/shared library"""
def test_optimizeflag(self):