[Python-checkins] cpython (merge 3.4 -> 3.5): Issue #25622: Merge ctypes test from 3.4 into 3.5

martin.panter python-checkins at python.org
Thu Nov 26 05:45:15 EST 2015


https://hg.python.org/cpython/rev/18a74ef65d3f
changeset:   99367:18a74ef65d3f
branch:      3.5
parent:      99362:6425a07a6072
parent:      99366:0325eca1927e
user:        Martin Panter <vadmium+py at gmail.com>
date:        Thu Nov 26 10:26:33 2015 +0000
summary:
  Issue #25622: Merge ctypes test from 3.4 into 3.5

files:
  Lib/ctypes/test/test_values.py |  3 +--
  1 files changed, 1 insertions(+), 2 deletions(-)


diff --git a/Lib/ctypes/test/test_values.py b/Lib/ctypes/test/test_values.py
--- a/Lib/ctypes/test/test_values.py
+++ b/Lib/ctypes/test/test_values.py
@@ -28,8 +28,7 @@
         ctdll = CDLL(_ctypes_test.__file__)
         self.assertRaises(ValueError, c_int.in_dll, ctdll, "Undefined_Symbol")
 
- at 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):

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list