[loop-cycle-1] fix: ruff format error on test_autoresearch.py (#1256) #1257
@@ -12,15 +12,19 @@ class TestAppleSiliconHelpers:
|
||||
def test_is_apple_silicon_true_on_arm64_darwin(self):
|
||||
from timmy.autoresearch import is_apple_silicon
|
||||
|
||||
with patch("timmy.autoresearch.platform.system", return_value="Darwin"), \
|
||||
patch("timmy.autoresearch.platform.machine", return_value="arm64"):
|
||||
with (
|
||||
patch("timmy.autoresearch.platform.system", return_value="Darwin"),
|
||||
patch("timmy.autoresearch.platform.machine", return_value="arm64"),
|
||||
):
|
||||
assert is_apple_silicon() is True
|
||||
|
||||
def test_is_apple_silicon_false_on_linux(self):
|
||||
from timmy.autoresearch import is_apple_silicon
|
||||
|
||||
with patch("timmy.autoresearch.platform.system", return_value="Linux"), \
|
||||
patch("timmy.autoresearch.platform.machine", return_value="x86_64"):
|
||||
with (
|
||||
patch("timmy.autoresearch.platform.system", return_value="Linux"),
|
||||
patch("timmy.autoresearch.platform.machine", return_value="x86_64"),
|
||||
):
|
||||
assert is_apple_silicon() is False
|
||||
|
||||
def test_build_env_auto_resolves_mlx_on_apple_silicon(self):
|
||||
|
||||
Reference in New Issue
Block a user