summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2015-11-26 02:36:26 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2015-11-26 02:36:26 (GMT)
commit92072ac8b4cbd8c0bf8d7e7da143887fb9d53a03 (patch)
tree41be8580b8be12a3713f39e51535403005a3daef
parent097a664f5770a635e24cbdd4b050b1ec802ed058 (diff)
downloadcpython-92072ac8b4cbd8c0bf8d7e7da143887fb9d53a03.zip
cpython-92072ac8b4cbd8c0bf8d7e7da143887fb9d53a03.tar.gz
cpython-92072ac8b4cbd8c0bf8d7e7da143887fb9d53a03.tar.bz2
Issue #25622: Rename to PythonValuesTestCase and enable for non-Windows
-rw-r--r--Lib/ctypes/test/test_values.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/ctypes/test/test_values.py b/Lib/ctypes/test/test_values.py
index 1c1fd7d..6850cf0 100644
--- a/Lib/ctypes/test/test_values.py
+++ b/Lib/ctypes/test/test_values.py
@@ -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):