File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
tests/stubtest_allowlists Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -156,9 +156,10 @@ class SSLProtocol(_SSLProtocolBase):
156
156
def _check_handshake_timeout (self ) -> None : ...
157
157
def _on_handshake_complete (self , handshake_exc : BaseException | None ) -> None : ...
158
158
def _fatal_error (self , exc : BaseException , message : str = "Fatal error on transport" ) -> None : ...
159
- def _abort (self ) -> None : ...
160
159
if sys .version_info >= (3 , 11 ):
160
+ def _abort (self , exc : BaseException | None ) -> None : ...
161
161
def get_buffer (self , n : int ) -> memoryview : ...
162
162
else :
163
+ def _abort (self ) -> None : ...
163
164
def _finalize (self ) -> None : ...
164
165
def _process_write_backlog (self ) -> None : ...
Original file line number Diff line number Diff line change @@ -124,3 +124,7 @@ typing.SupportsAbs.__type_params__
124
124
typing.SupportsRound.__type_params__
125
125
typing_extensions.SupportsAbs.__type_params__
126
126
typing_extensions.SupportsRound.__type_params__
127
+
128
+ # Dunder that exists on all runtime-checkable protocols on py312+
129
+ # TODO teach stubtest about this so we don't have to allowlist it
130
+ .+\.__non_callable_proto_members__
You can’t perform that action at this time.
0 commit comments