]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-120417: Add #noqa: F401 to tests (#120627)
authorVictor Stinner <vstinner@python.org>
Tue, 18 Jun 2024 15:51:47 +0000 (17:51 +0200)
committerGitHub <noreply@github.com>
Tue, 18 Jun 2024 15:51:47 +0000 (15:51 +0000)
commite9f4d80fa66e0d3331e79d539329747297e54ae5
treee0626fbefc111356f3419a484bd7d05514e08b0b
parent7e189aed6450c0aebcdd6ff6aefe29e2f45b173a
gh-120417: Add #noqa: F401 to tests (#120627)

Ignore linter "imported but unused" warnings in tests when the linter
doesn't understand how the import is used.
24 files changed:
Lib/test/support/__init__.py
Lib/test/test___all__.py
Lib/test/test_asyncio/test_tasks.py
Lib/test/test_capi/check_config.py
Lib/test/test_cmd_line.py
Lib/test/test_codecs.py
Lib/test/test_compile.py
Lib/test/test_compileall.py
Lib/test/test_descrtut.py
Lib/test/test_file_eintr.py
Lib/test/test_future_stmt/nested_scope.py
Lib/test/test_future_stmt/test_future.py
Lib/test/test_inspect/test_inspect.py
Lib/test/test_pkg.py
Lib/test/test_pydoc/test_pydoc.py
Lib/test/test_re.py
Lib/test/test_site.py
Lib/test/test_sundry.py
Lib/test/test_support.py
Lib/test/test_unicode_identifiers.py
Lib/test/test_utf8source.py
Lib/test/test_warnings/__init__.py
Lib/test/test_xml_etree.py
Lib/test/test_xmlrpc.py