From 745110bd9637d6094f23130c0c53101072287577 Mon Sep 17 00:00:00 2001 From: Chen Lai Date: Thu, 14 Nov 2024 15:24:32 -0800 Subject: [PATCH] fix lintrunner --- backends/xnnpack/test/ops/cat.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/backends/xnnpack/test/ops/cat.py b/backends/xnnpack/test/ops/cat.py index 28bf1bec29a..039da2c0755 100644 --- a/backends/xnnpack/test/ops/cat.py +++ b/backends/xnnpack/test/ops/cat.py @@ -57,7 +57,6 @@ def _test_cat(self, module, inputs, cat_num=1, quant=False, quant_ops=2): } ) - if legacy_mode: tester.to_edge() tester.partition() @@ -68,7 +67,9 @@ def _test_cat(self, module, inputs, cat_num=1, quant=False, quant_ops=2): tester.check_not(["torch.ops.quantized_decomposed"]) ( - tester.check_count({"torch.ops.higher_order.executorch_call_delegate": 1}) + tester.check_count( + {"torch.ops.higher_order.executorch_call_delegate": 1} + ) .check_not(["executorch_exir_dialects_edge__ops_aten_cat"]) .to_executorch() .serialize()