From: Martin Panter Date: Thu, 26 Nov 2015 02:36:26 +0000 (+0000) Subject: Issue #25622: Rename to PythonValuesTestCase and enable for non-Windows X-Git-Tag: v3.4.4rc1~19 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=92072ac8b4cbd8c0bf8d7e7da143887fb9d53a03;p=thirdparty%2FPython%2Fcpython.git Issue #25622: Rename to PythonValuesTestCase and enable for non-Windows --- diff --git a/Lib/ctypes/test/test_values.py b/Lib/ctypes/test/test_values.py index 1c1fd7dbb61f..6850cf00b353 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):