]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-105751: test_ctypes gets Windows attrs from ctypes (#105758)
authorVictor Stinner <vstinner@python.org>
Wed, 14 Jun 2023 02:46:47 +0000 (04:46 +0200)
committerGitHub <noreply@github.com>
Wed, 14 Jun 2023 02:46:47 +0000 (04:46 +0200)
commitac7b551bde7a362bc77d2cb84accf755ac30eb09
tree13920c9cae11c727fdddb7481521564ea3ccb310
parentb87d2882754a7c273e2695c33384383eba380d7d
gh-105751: test_ctypes gets Windows attrs from ctypes (#105758)

test_ctypes now gets attributes specific to Windows from the ctypes
module, rather than relying on "from ctypes import *".

Attributes:

* ctypes.FormatError
* ctypes.WINFUNCTYPE
* ctypes.WinError
* ctypes.WinDLL
* ctypes.windll
* ctypes.oledll
* ctypes.get_last_error()
* ctypes.set_last_error()
Lib/test/test_ctypes/test_as_parameter.py
Lib/test/test_ctypes/test_callbacks.py
Lib/test/test_ctypes/test_cfuncs.py
Lib/test/test_ctypes/test_checkretval.py
Lib/test/test_ctypes/test_errno.py
Lib/test/test_ctypes/test_funcptr.py
Lib/test/test_ctypes/test_functions.py
Lib/test/test_ctypes/test_loading.py
Lib/test/test_ctypes/test_pointers.py
Lib/test/test_ctypes/test_random_things.py
Lib/test/test_ctypes/test_win32.py