Skip to content

Commit 240ae1b

Browse files
committed
test: make make-unreadable Python 3 friendly
Make `make-unreadable` python 3 compatible. `POINTER` is now in `ctypes` rather than in `ctypes.wintypes`. Use the new location which is compatible across python 2 and python 3.
1 parent 46c4c2b commit 240ae1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/ModuleInterface/Inputs/make-unreadable.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import ctypes
88
AdvAPI32 = ctypes.windll.Advapi32
99

10-
from ctypes.wintypes import POINTER
10+
from ctypes import POINTER
1111

1212
UNLEN = 256
1313

0 commit comments

Comments
 (0)