diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2013-02-04 13:20:16 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2013-02-04 13:20:16 (GMT) |
commit | ac06352c7041cf4f4c1cf91dfa375b1b42a5e6bc (patch) | |
tree | c5cc130b6a8457b3d6e419aee21a21d293ff2ac4 /Lib | |
parent | b6a53404b782c74bd9f7817ddb97f33642146d0c (diff) | |
parent | 358751e7bd3dfaf98009f87b1bfeb092435c0136 (diff) | |
download | cpython-ac06352c7041cf4f4c1cf91dfa375b1b42a5e6bc.zip cpython-ac06352c7041cf4f4c1cf91dfa375b1b42a5e6bc.tar.gz cpython-ac06352c7041cf4f4c1cf91dfa375b1b42a5e6bc.tar.bz2 |
Temporarily disable test_from_dll in test_returnfuncptrs.py for Windows.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/ctypes/test/test_returnfuncptrs.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Lib/ctypes/test/test_returnfuncptrs.py b/Lib/ctypes/test/test_returnfuncptrs.py index 21cb843..6b2d047 100644 --- a/Lib/ctypes/test/test_returnfuncptrs.py +++ b/Lib/ctypes/test/test_returnfuncptrs.py @@ -1,5 +1,6 @@ import unittest from ctypes import * +import os import _ctypes_test @@ -33,6 +34,7 @@ class ReturnFuncPtrTestCase(unittest.TestCase): self.assertRaises(ArgumentError, strchr, b"abcdef", 3.0) self.assertRaises(TypeError, strchr, b"abcdef") + @unittest.skipIf(os.name == 'nt', 'Temporarily disabled for Windows') def test_from_dll(self): dll = CDLL(_ctypes_test.__file__) # _CFuncPtr instances are now callable with a tuple argument @@ -43,8 +45,9 @@ class ReturnFuncPtrTestCase(unittest.TestCase): self.assertRaises(ArgumentError, strchr, b"abcdef", 3.0) self.assertRaises(TypeError, strchr, b"abcdef") + @unittest.skipIf(os.name == 'nt', 'Temporarily disabled for Windows') # Issue 6083: Reference counting bug - def test_test_from_dll_refcount(self): + def test_from_dll_refcount(self): class BadSequence(tuple): def __getitem__(self, key): if key == 0: |