Skip to content

Commit

Permalink
style: fix wrong location of noqa
Browse files Browse the repository at this point in the history
  • Loading branch information
shink committed May 6, 2024
1 parent 87e2a94 commit 02d7d8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_dynamic_shapes.py
Expand Up @@ -838,8 +838,8 @@ def forward(self, a_1: "f32[s0, s1]", b_1: "f32[s2, s1]"):
native_dropout = torch.ops.aten.native_dropout.default(new_empty, 0.5, True); new_empty = None
getitem: "f32[s0 + s2, 2*s1]" = native_dropout[0]
getitem_1: "b8[s0 + s2, 2*s1]" = native_dropout[1]; native_dropout = None
return (getitem, getitem_1)""",
) # noqa: B950
return (getitem, getitem_1)""", # noqa: B950
)

def test_statically_known_true(self):
shape_env = ShapeEnv()
Expand Down

0 comments on commit 02d7d8b

Please sign in to comment.