tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit 54c38b7e364be47910470b1455c90a8954528bd8
parent 7054a1ab49dd2a76cd3bb8714d6622574bfd84d0
Author: Alex Hochheiden <ahochheiden@mozilla.com>
Date:   Wed, 10 Dec 2025 06:03:22 +0000

Bug 2003412 - Update `tools/lint/test/test_ruff.py::test_lint_fix_withotu_warning[ruff]` to account for PLR rule auto fixes r=emilio

With PLR rules now enabled as errors, auto-fix removes the useless
return statement (PLR1711), so we expect 3 fixes instead of 2.

Differential Revision: https://phabricator.services.mozilla.com/D274688

Diffstat:
Mtools/lint/test/test_ruff.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/lint/test/test_ruff.py b/tools/lint/test/test_ruff.py @@ -55,7 +55,7 @@ def test_lint_fix_withotu_warning(lint, create_temp_file): path = create_temp_file(contents, "bad.py") lint([path], warning=False, fix=True) - assert fixed == 2 + assert fixed == 3 def test_lint_ruff(lint, paths):