Stubtest fixes (#5391)

This commit is contained in:
hatal175
2021-05-14 04:20:55 +03:00
committed by GitHub
parent bbe7e5ef11
commit b8e5f637b9
7 changed files with 34 additions and 25 deletions

View File

@@ -5,10 +5,9 @@ curses.COLOR_PAIRS # Initialized after start_color
curses.COLS # Initialized only after initscr call.
curses.LINES # Initialized only after initscr call.
distutils.command.bdist_msi # msi is only available on windows
grp.getgrgid
grp.struct_group._asdict
grp.struct_group._make
grp.struct_group._replace
grp.struct_group._asdict # PyStructSequence
grp.struct_group._make # PyStructSequence
grp.struct_group._replace # PyStructSequence
os.EX_NOTFOUND
os.SF_MNOWAIT
os.SF_NODISKIO
@@ -20,7 +19,6 @@ readline.append_history_file # not defined in macos
select.KQ_FILTER_NETDEV # system dependent
select.kqueue.__init__ # default C signature is wrong
select.POLLMSG # system dependent
socket.socketpair
# ==========
# Whitelist entries that cannot or should not be fixed
@@ -38,7 +36,7 @@ winsound
ossaudiodev
spwd
# NamedTuple like, but not actually NamedTuples
# NamedTuple like, but not actually NamedTuples (PyStructSequence)
posix.[a-z]+_(param|result)._(asdict|make|replace)
# Platform differences that cannot be captured by the type system

View File

@@ -5,10 +5,9 @@ curses.COLOR_PAIRS # Initialized after start_color
curses.COLS # Initialized only after initscr call.
curses.LINES # Initialized only after initscr call.
distutils.command.bdist_msi # msi is only available on windows
grp.getgrgid
grp.struct_group._asdict
grp.struct_group._make
grp.struct_group._replace
grp.struct_group._asdict # PyStructSequence
grp.struct_group._make # PyStructSequence
grp.struct_group._replace # PyStructSequence
os.EX_NOTFOUND
os.SF_MNOWAIT
os.SF_NODISKIO
@@ -22,12 +21,9 @@ select.EPOLL_RDHUP
selectors.KqueueSelector
signal.SIGEMT
signal.SIGINFO
socket.socketpair
spwd.getspnam
spwd.struct_spwd._asdict
spwd.struct_spwd._make
spwd.struct_spwd._replace
urllib.request.proxy_bypass
spwd.struct_spwd._asdict # PyStructSequence
spwd.struct_spwd._make # PyStructSequence
spwd.struct_spwd._replace # PyStructSequence
# ==========
# Whitelist entries that cannot or should not be fixed
@@ -43,7 +39,7 @@ msvcrt
winreg
winsound
# NamedTuple like, but not actually NamedTuples
# NamedTuple like, but not actually NamedTuples (PyStructSequence)
posix.[a-z]+_(param|result)._(asdict|make|replace)
# Platform differences that cannot be captured by the type system

View File

@@ -4,8 +4,6 @@ signal.SIGEMT
signal.SIGINFO
locale.[A-Z0-9_]+ # Constants that should be moved to _locale and re-exported conditionally
locale.nl_langinfo # Function that should be moved to _locale and re-exported conditionally
urllib.request.pathname2url # Parameter name mismatch
urllib.request.url2pathname # Same
# ==========
# Whitelist entries that cannot or should not be fixed