Skip to content

Commit 247ecbf

Browse files
committed
chore: apply linting to the new test
1 parent 2892456 commit 247ecbf

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/py/dynamo/conversion/test_index_bool_split_aten.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
3. Boolean-indexed `aten.index.Tensor` routes to the converter WITH output allocator.
77
4. Both paths produce correct results.
88
"""
9+
910
import unittest
1011
from unittest.mock import MagicMock
1112

@@ -60,9 +61,7 @@ def test_none_with_bool_indices_returns_true(self):
6061

6162
def test_mixed_int_and_bool_returns_true(self):
6263
"""If any index is bool, the function should return True."""
63-
node = _make_index_node(
64-
[torch.tensor([0, 1]), torch.tensor([True, False])]
65-
)
64+
node = _make_index_node([torch.tensor([0, 1]), torch.tensor([True, False])])
6665
self.assertTrue(index_has_bool_indices(node))
6766

6867
def test_all_none_returns_false(self):

0 commit comments

Comments
 (0)