From 28803c4c4a667d9ca15301cebd0f2ae7dca44e7b Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Sun, 5 Dec 2021 18:29:10 +0000 Subject: [PATCH] Mark `OSError.characters_written` as "wontfix" (#6499) --- tests/stubtest_allowlists/py3_common.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/stubtest_allowlists/py3_common.txt b/tests/stubtest_allowlists/py3_common.txt index 820bf84af..1c4a906a9 100644 --- a/tests/stubtest_allowlists/py3_common.txt +++ b/tests/stubtest_allowlists/py3_common.txt @@ -246,6 +246,8 @@ builtins.quit # Builtins that mypy pretends exist builtins.reveal_locals builtins.reveal_type +# GetSetDescriptor that always raises AttributeError +builtins.OSError.characters_written collections.abc.* # Types are re-exported from _collections_abc, so errors should be fixed there distutils.command.check.SilentReporter # only defined if docutils in installed pydoc.Helper.symbol # Loop variable in class https://github.com/python/typeshed/issues/6401#issuecomment-981178522 @@ -300,7 +302,6 @@ _thread.exit_thread _thread.start_new _threading_local._localimpl.localargs _threading_local._localimpl.locallock -builtins.OSError.characters_written builtins.SyntaxError.print_file_and_line bz2.BZ2File.peek cgi.FieldStorage.bufsize