diff --git a/src/bootstrap/bootstrap.py b/src/bootstrap/bootstrap.py index 288f5acf53a8..cbe895bcf867 100644 --- a/src/bootstrap/bootstrap.py +++ b/src/bootstrap/bootstrap.py @@ -186,9 +186,9 @@ def verify(path, expected, verbose): verified = found == expected if not verified: eprint( - "invalid checksum:\n" - " found: {}\n" - " expected: {}".format(found, expected) + "invalid checksum:\n" " found: {}\n" " expected: {}".format( + found, expected + ) ) return verified diff --git a/src/bootstrap/bootstrap_test.py b/src/bootstrap/bootstrap_test.py index 9b579f9f4451..6da60f879e42 100644 --- a/src/bootstrap/bootstrap_test.py +++ b/src/bootstrap/bootstrap_test.py @@ -251,8 +251,7 @@ def test_warnings(self): self.assertTrue("-Dwarnings" in env["RUSTFLAGS"]) -class TestRustBuild(unittest.TestCase): - +class TestProfileOverride(unittest.TestCase): @patch("os.path.exists") @patch("bootstrap.RustBuild.get_toml_static") def test_profile_none_with_non_git_source(self, mock_get_toml_static, mock_exists):