mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-26 22:01:14 +08:00
Fix paramiko stubtest on Windows (#9179)
This commit is contained in:
@@ -2,7 +2,6 @@ paramiko.SFTPServer.__init__
|
||||
paramiko.Transport.open_x11_channel
|
||||
paramiko.Transport.send_ignore
|
||||
paramiko.Transport.start_server
|
||||
paramiko._winapi
|
||||
paramiko.py3compat.input
|
||||
paramiko.py3compat.BytesIO.readlines
|
||||
paramiko.py3compat.BytesIO.seek
|
||||
@@ -13,4 +12,3 @@ paramiko.transport.Transport.open_x11_channel
|
||||
paramiko.transport.Transport.send_ignore
|
||||
paramiko.transport.Transport.start_server
|
||||
paramiko.util.SupportsClose
|
||||
paramiko.win_pageant
|
||||
|
||||
2
stubs/paramiko/@tests/stubtest_allowlist_darwin.txt
Normal file
2
stubs/paramiko/@tests/stubtest_allowlist_darwin.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
paramiko._winapi
|
||||
paramiko.win_pageant
|
||||
2
stubs/paramiko/@tests/stubtest_allowlist_linux.txt
Normal file
2
stubs/paramiko/@tests/stubtest_allowlist_linux.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
paramiko._winapi
|
||||
paramiko.win_pageant
|
||||
2
stubs/paramiko/@tests/stubtest_allowlist_win32.txt
Normal file
2
stubs/paramiko/@tests/stubtest_allowlist_win32.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
# Type-checkers don't support architecture checks. So we have to Union
|
||||
paramiko.win_pageant.ULONG_PTR
|
||||
@@ -1,2 +1,6 @@
|
||||
version = "2.12.*"
|
||||
requires = ["types-cryptography"]
|
||||
|
||||
[tool.stubtest]
|
||||
# linux and darwin are equivalent
|
||||
platforms = ["linux", "win32"]
|
||||
|
||||
Reference in New Issue
Block a user