Skip to content

Commit 0e4c662

Browse files
committed
Fix lint.
1 parent d913d49 commit 0e4c662

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

test/test_operations.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2374,9 +2374,8 @@ def test_trace_raises_error_on_non_matrix_input(self):
23742374
try:
23752375
torch.trace(a)
23762376
except RuntimeError as e:
2377-
expected_error = (
2378-
"trace(): expected the input tensor f32[2,2,2] to be a "
2379-
"matrix (i.e. a 2D tensor).")
2377+
expected_error = ("trace(): expected the input tensor f32[2,2,2] to be a "
2378+
"matrix (i.e. a 2D tensor).")
23802379
self.assertEqual(str(e), expected_error)
23812380

23822381

0 commit comments

Comments
 (0)