Skip to content

Commit 92eac20

Browse files
committed
Update
[ghstack-poisoned]
1 parent bdf69cd commit 92eac20

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

backends/test/suite/generate_markdown_summary_json.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,9 +168,11 @@ def generate_markdown(json_path: str, exit_code: int = 0): # noqa (C901)
168168

169169
# Generate Failed Tests section
170170
print("# Failed Tests\n")
171-
print("To reproduce, run the following command from the root of the ExecuTorch repository:")
171+
print(
172+
"To reproduce, run the following command from the root of the ExecuTorch repository:"
173+
)
172174
print("```")
173-
print("pytest -c /dev/nul backends/test/suite/ -k \"<test_id>\"")
175+
print('pytest -c /dev/nul backends/test/suite/ -k "<test_id>"')
174176
print("```")
175177
if results.failed_tests:
176178
header = build_header(results.failed_tests)

backends/test/suite/operators/test_add.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@ def forward(self, x, y):
2525
return torch.add(x, y, alpha=self.alpha)
2626

2727

28-
@pytest.mark.parametrize(
29-
"dtype", [torch.float32], ids=lambda s: str(s)[6:]
30-
)
28+
@pytest.mark.parametrize("dtype", [torch.float32], ids=lambda s: str(s)[6:])
3129
def test_add_dtype(test_runner, dtype) -> None:
3230
test_runner.lower_and_run_model(
3331
Model(),

0 commit comments

Comments
 (0)