Skip to content

Commit 3a64775

Browse files
Arm backend: Fix TOSA compile spec deprecation test (pytorch#18499)
Update the deprecation test to call `_from_list()` instead of the nonexistent `from_list()` helper on `TosaCompileSpec`. Signed-off-by: Sebastian Larsson <sebastian.larsson@arm.com>
1 parent d2358aa commit 3a64775

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎backends/arm/test/deprecation/test_arm_compile_spec_deprecation.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def test_from_list_with_output_order_workaround_warns():
2626
CompileSpec("ouput_reorder_workaround", b"true"),
2727
]
2828
with pytest.warns(DeprecationWarning):
29-
spec = TosaCompileSpec.from_list(compile_specs)
29+
spec = TosaCompileSpec._from_list(compile_specs)
3030
assert isinstance(spec, TosaCompileSpec)
3131

3232

0 commit comments

Comments
 (0)