Skip to content

gh-105751: test_ctypes gets Windows attrs from ctypes #105758

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 14, 2023

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Jun 13, 2023

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

@vstinner vstinner requested a review from rhettinger as a code owner June 13, 2023 23:19
@bedevere-bot bedevere-bot added awaiting core review tests Tests in the Lib/test dir labels Jun 13, 2023
@vstinner vstinner force-pushed the test_ctypes_win branch 3 times, most recently from f41f8b6 to 62437e2 Compare June 14, 2023 00:00
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()
@vstinner vstinner merged commit ac7b551 into python:main Jun 14, 2023
@vstinner vstinner deleted the test_ctypes_win branch June 14, 2023 02:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip news tests Tests in the Lib/test dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants