Skip to content

Commit

Permalink
remove old errors from 'all'
Browse files Browse the repository at this point in the history
  • Loading branch information
jakkdl committed Feb 21, 2024
1 parent 930e1a0 commit 3b48476
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 69 deletions.
69 changes: 0 additions & 69 deletions src/trio/_tests/_check_type_completeness.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,75 +18,6 @@
],
"Windows": [],
"all": [
"No docstring found for class \"trio.MemoryReceiveChannel\"",
"No docstring found for function \"trio._channel.MemoryReceiveChannel.statistics\"",
"No docstring found for function \"trio._channel.MemoryReceiveChannel.aclose\"",
"No docstring found for class \"trio._channel.MemorySendChannel\"",
"No docstring found for function \"trio._channel.MemorySendChannel.aclose\"",
"No docstring found for class \"trio._socket.SocketType\"",
"No docstring found for function \"trio._highlevel_socket.SocketStream.wait_send_all_might_not_block\"",
"No docstring found for function \"trio._highlevel_socket.SocketStream.receive_some\"",
"No docstring found for function \"trio._path.Path.absolute\"",
"No docstring found for function \"trio._path.AsyncAutoWrapperType.generate_forwards\"",
"No docstring found for function \"trio._path.AsyncAutoWrapperType.generate_magic\"",
"No docstring found for function \"trio._subprocess.HasFileno.fileno\"",
"No docstring found for function \"trio._sync._HasAcquireRelease.acquire\"",
"No docstring found for class \"trio._sync._LockImpl\"",
"No docstring found for class \"trio._core._local._NoValue\"",
"No docstring found for class \"trio.lowlevel.RunVarToken\"",
"No docstring found for class \"trio._core._ki.KIProtectionSignature\"",
"No docstring found for class \"trio.socket.SocketType\"",
"No docstring found for class \"trio.socket.herror\"",
"No docstring found for function \"trio._core._mock_clock.MockClock.current_time\"",
"trio.testing._raises_group.RaisesGroup: Type of metaclass unknown",
"trio.testing._raises_group.RaisesGroup: Type of base class unknown",
"No docstring found for function \"trio.testing._raises_group._ExceptionInfo.errisinstance\"",
"No docstring found for function \"trio.testing._raises_group.RaisesGroup.expected_type\"",
"No docstring found for class \"trio.MemoryReceiveChannel\"",
"No docstring found for class \"trio._channel.MemoryReceiveChannel\"",
"No docstring found for function \"trio._channel.MemoryReceiveChannel.statistics\"",
"No docstring found for class \"trio._channel.MemoryChannelStats\"",
"No docstring found for function \"trio._channel.MemoryReceiveChannel.aclose\"",
"No docstring found for class \"trio.MemorySendChannel\"",
"No docstring found for class \"trio._channel.MemorySendChannel\"",
"No docstring found for function \"trio._channel.MemorySendChannel.statistics\"",
"No docstring found for function \"trio._channel.MemorySendChannel.aclose\"",
"No docstring found for class \"trio._core._run.Task\"",
"No docstring found for class \"trio._socket.SocketType\"",
"No docstring found for function \"trio._highlevel_socket.SocketStream.send_all\"",
"No docstring found for function \"trio._highlevel_socket.SocketStream.wait_send_all_might_not_block\"",
"No docstring found for function \"trio._highlevel_socket.SocketStream.send_eof\"",
"No docstring found for function \"trio._highlevel_socket.SocketStream.receive_some\"",
"No docstring found for function \"trio._highlevel_socket.SocketStream.aclose\"",
"No docstring found for function \"trio._path.Path.absolute\"",
"No docstring found for class \"trio._path.AsyncAutoWrapperType\"",
"No docstring found for function \"trio._path.AsyncAutoWrapperType.generate_forwards\"",
"No docstring found for function \"trio._path.AsyncAutoWrapperType.generate_wraps\"",
"No docstring found for function \"trio._path.AsyncAutoWrapperType.generate_magic\"",
"No docstring found for function \"trio._path.AsyncAutoWrapperType.generate_iter\"",
"No docstring found for function \"trio._subprocess.HasFileno.fileno\"",
"No docstring found for class \"trio._sync.AsyncContextManagerMixin\"",
"No docstring found for function \"trio._sync._HasAcquireRelease.acquire\"",
"No docstring found for function \"trio._sync._HasAcquireRelease.release\"",
"No docstring found for class \"trio._sync._LockImpl\"",
"No docstring found for class \"trio._core._local._NoValue\"",
"No docstring found for class \"trio._core._local.RunVarToken\"",
"No docstring found for class \"trio.lowlevel.RunVarToken\"",
"No docstring found for class \"trio.lowlevel.Task\"",
"No docstring found for class \"trio._core._ki.KIProtectionSignature\"",
"No docstring found for class \"trio.socket.SocketType\"",
"No docstring found for class \"trio.socket.gaierror\"",
"No docstring found for class \"trio.socket.herror\"",
"No docstring found for function \"trio._core._mock_clock.MockClock.start_clock\"",
"No docstring found for function \"trio._core._mock_clock.MockClock.current_time\"",
"No docstring found for function \"trio._core._mock_clock.MockClock.deadline_to_sleep_time\"",
"trio.testing._raises_group.RaisesGroup: Type of metaclass unknown",
"trio.testing._raises_group.RaisesGroup: Type of base class \"contextlib.AbstractContextManager\" is partially unknown\n\u00a0\u00a0Type argument 1 for class \"AbstractContextManager\" has partially unknown type",
"trio.testing._raises_group.RaisesGroup: Type of base class unknown",
"No docstring found for function \"trio.testing._raises_group._ExceptionInfo.exconly\"",
"No docstring found for function \"trio.testing._raises_group._ExceptionInfo.errisinstance\"",
"No docstring found for function \"trio.testing._raises_group._ExceptionInfo.getrepr\"",
"No docstring found for function \"trio.testing._raises_group.RaisesGroup.expected_type\"",
"No docstring found for class \"trio.MemoryReceiveChannel\"",
"No docstring found for class \"trio._channel.MemoryReceiveChannel\"",
"No docstring found for function \"trio._channel.MemoryReceiveChannel.statistics\"",
Expand Down
1 change: 1 addition & 0 deletions src/trio/_tests/check_type_completeness.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ def main(args: argparse.Namespace) -> int:

# cut down the size of the json file by a lot, and make it easier to parse for
# humans, by moving errors that appear on all platforms to a separate category
errors_by_platform["all"] = []
for e in errors_by_platform["Linux"].copy():
if e in errors_by_platform["Darwin"] and e in errors_by_platform["Windows"]:
for platform in "Linux", "Windows", "Darwin":
Expand Down

0 comments on commit 3b48476

Please sign in to comment.