]> granicus.if.org Git - python/commitdiff
Issue #25622: Rename to PythonValuesTestCase and enable for non-Windows
authorMartin Panter <vadmium+py@gmail.com>
Thu, 26 Nov 2015 02:36:26 +0000 (02:36 +0000)
committerMartin Panter <vadmium+py@gmail.com>
Thu, 26 Nov 2015 02:36:26 +0000 (02:36 +0000)
Lib/ctypes/test/test_values.py

index 1c1fd7dbb61ff5f65b5d6cd8aed734416dee173b..6850cf00b3531fc11b0faccca4f66b4fb14f0325 100644 (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):