提交 3630b822 authored 作者: Ricardo Vieira's avatar Ricardo Vieira 提交者: Ricardo Vieira

Fix unrelated linter issue

上级 d72a2890
...@@ -211,9 +211,9 @@ def test_mlx_float64_auto_casting(): ...@@ -211,9 +211,9 @@ def test_mlx_float64_auto_casting():
dtype_warnings = [ dtype_warnings = [
msg for msg in warning_messages if "float64" in msg and "float32" in msg msg for msg in warning_messages if "float64" in msg and "float32" in msg
] ]
assert ( assert len(dtype_warnings) > 0, (
len(dtype_warnings) > 0 f"Expected dtype warning, got warnings: {warning_messages}"
), f"Expected dtype warning, got warnings: {warning_messages}" )
def test_mlx_float64_complex_operations(): def test_mlx_float64_complex_operations():
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论