gh-105751: test_ctypes: Remove @need_symbol decorator by vstinner · Pull Request #105798 · python/cpython
-
-
Notifications
You must be signed in to change notification settings - Fork 34.7k
Merged
Conversation
Remove the @need_symbol('...') decorator of test.test_ctypes since requested symbols are now always always available in ctypes.
Use directly the @unittest.skipUnless() decorator for the two types only available on Windows:
- ctypes.WINFUNCTYPE
- ctypes.oledll
- Issue: Rework test_ctypes #105751
Remove the @need_symbol('...') decorator of test.test_ctypes since
requested symbols are now always always available in ctypes.
Use directly the @unittest.skipUnless() decorator for the two types
only available on Windows:
* ctypes.WINFUNCTYPE
* ctypes.oledll
vstinner
deleted the
test_ctypes_need_symbol
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters