Skip to content

Commit 72b7e49

Browse files
committed
pre-commit fix
1 parent 770a76e commit 72b7e49

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

tests/torch/sparsity/movement/test_model_saving.py

+5-2
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,11 @@ def test_no_weight_override_on_export(self, tmp_path):
108108
num_heads=(6, 12, 24, 48),
109109
num_labels=32,
110110
),
111-
marks=pytest.mark.xfail(reason="transformers>=4.47.0 swin model causes an error due to calling torch.tensor on (TracedTensor,) Ticket 162383")
112-
)
111+
marks=pytest.mark.xfail(
112+
reason="""transformers>=4.47.0 swin model causes an error calling torch.tensor on
113+
(TracedTensor,) Ticket 162383"""
114+
),
115+
),
113116
],
114117
)
115118
def test_same_outputs_in_torch_and_exported_onnx(self, tmp_path: Path, recipe: BaseMockRunRecipe):

0 commit comments

Comments
 (0)