Skip to content

Commit 4c0ffd5

Browse files
srittauVishal Kuo
authored and
Vishal Kuo
committed
Add msilib and _msi to stubtest whitelist (python#3939)
* Add msilib and _msi to stubtest whitelist * Group Windows-only modules * Move win modules to bottom Make win modules optional
1 parent b00f700 commit 4c0ffd5

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

tests/stubtest_whitelists/py3_common.txt

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ _types
88
_weakref.CallableProxyType.__getattr__
99
_weakref.ProxyType.__getattr__
1010
_weakref.ReferenceType.__call__
11-
_winapi
1211
abc.abstractclassmethod
1312
abc.abstractmethod
1413
abc.abstractstaticmethod
@@ -349,7 +348,6 @@ mailbox._mboxMMDF.get_string
349348
mailbox.mbox.__init__
350349
mimetypes.read_mime_types
351350
mmap.mmap.__iter__
352-
msvcrt
353351
multiprocessing.Array
354352
multiprocessing.Event
355353
multiprocessing.JoinableQueue
@@ -557,7 +555,6 @@ webbrowser.UnixBrowser.raise_opts
557555
webbrowser.UnixBrowser.remote_action
558556
webbrowser.UnixBrowser.remote_action_newtab
559557
webbrowser.UnixBrowser.remote_action_newwin
560-
winsound
561558
wsgiref.types
562559
wsgiref.util.FileWrapper.__init__
563560
wsgiref.util.FileWrapper.close
@@ -617,3 +614,10 @@ os.SCHED_[A-Z_]+
617614
socket.AF_DECnet
618615
socket.[A-Z0-9_]+
619616
(termios.[A-Z0-9_]+)?
617+
618+
# Modules that do not exist on Linux systems and cannot be checked by our CI process.
619+
(_msi)?
620+
(_winapi)?
621+
(msilib(.[a-z]+)?)?
622+
(msvcrt)?
623+
(winsound)?

0 commit comments

Comments
 (0)