Skip to content

Commit

Permalink
Fix formatting issues and rename test case
Browse files Browse the repository at this point in the history
  • Loading branch information
tanvincible committed Jan 13, 2025
1 parent 375f9e1 commit a087573
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/bootstrap/bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 1 addition & 2 deletions src/bootstrap/bootstrap_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit a087573

Please sign in to comment.