Skip to content

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

Merged
vstinner merged 1 commit into
python:mainfrom
vstinner:test_ctypes_win
Jun 14, 2023
Merged

gh-105751: test_ctypes gets Windows attrs from ctypes#105758
vstinner merged 1 commit into
python:mainfrom
vstinner:test_ctypes_win

Conversation

@vstinner

@vstinnervstinner commented Jun 13, 2023

Copy link
Copy Markdown
Member

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

@bedevere-botbedevere-bot added awaiting core review tests Tests in the Lib/test dir labels Jun 13, 2023
@bedevere-botbedevere-bot mentioned this pull request Jun 13, 2023
@vstinner
vstinnerforce-pushed the test_ctypes_win branch 3 times, most recently from f41f8b6 to 62437e2CompareJune 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:mainJun 14, 2023
@vstinner
vstinner deleted the test_ctypes_win branch June 14, 2023 02:46
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip newstestsTests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@vstinner@bedevere-bot