Skip to content

Commit a47d985

Browse files
committed
lint
1 parent fa96c98 commit a47d985

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

onnxscript/rewriter/rules/common/_remove_expand_before_binary_op_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ def test_expand_div_second_input_is_removed(self):
169169
model = self._apply_and_check(model_text, 1, ["Div"])
170170

171171
x = np.random.randn(4, 3, 4).astype(np.float32)
172-
y = (np.random.randn(3, 4).astype(np.float32) + 2.0) # avoid division by zero
172+
y = np.random.randn(3, 4).astype(np.float32) + 2.0 # avoid division by zero
173173
original = ir.from_onnx_text(model_text)
174174
expected = _run_model(original, {"x": x, "y": y})
175175
got = _run_model(model, {"x": x, "y": y})

0 commit comments

Comments
 (0)