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)
commit929e363a7b75690dadfa3701c4701c940304d341 (patch)
tree9dc4af0358cc4576a5ff3c688441357bdd9c8271
parentb5b76c370bb6cdf7296eaf2c1c8cb0449b529575 (diff)
downloadcpython-929e363a7b75690dadfa3701c4701c940304d341.zip
cpython-929e363a7b75690dadfa3701c4701c940304d341.tar.gz
cpython-929e363a7b75690dadfa3701c4701c940304d341.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 14d69fe..fe7dcf0 100644
--- a/Lib/ctypes/test/test_values.py
+++ b/Lib/ctypes/test/test_values.py
@@ -22,8 +22,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):