Stubtest: Don't allowlist termios and posix constants on Windows (#9150)

This commit is contained in:
Alex Waygood
2022-11-10 15:02:53 +00:00
committed by GitHub
parent f8dd877e48
commit cc7ac01a3e
3 changed files with 10 additions and 3 deletions

View File

@@ -21,6 +21,11 @@ select.POLLMSG # system dependent
(posix.preadv)?
(posix.pwritev)?
# Platform differences that cannot be captured by the type system
(posix.O_[A-Z_]+)?
(posix.ST_[A-Z]+)?
(termios.[A-Z0-9_]+)?
# Exists at runtime, but missing from stubs
distutils.msvccompiler.MSVCCompiler.get_msvc_paths
distutils.msvccompiler.MSVCCompiler.set_path_env_var

View File

@@ -23,6 +23,11 @@ selectors.DefaultSelector.fileno
spwd.struct_spwd.sp_nam
spwd.struct_spwd.sp_pwd
# Platform differences that cannot be captured by the type system
(posix.O_[A-Z_]+)?
(posix.ST_[A-Z]+)?
(termios.[A-Z0-9_]+)?
_ctypes.dlclose
_ctypes.dlopen
_ctypes.dlsym

View File

@@ -544,10 +544,7 @@ xml.sax
# Platform differences that cannot be captured by the type system
os.O_[A-Z_]+
(posix.O_[A-Z_]+)?
(posix.ST_[A-Z]+)?
socket.AF_DECnet
(termios.[A-Z0-9_]+)?
# Loadable SQLite extensions are disabled on GitHub runners
(sqlite3(.dbapi2)?.Connection.enable_load_extension)?