Skip to content

Commit 5407082

Browse files
committed
up
1 parent 095265d commit 5407082

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

backends/apple/coreml/test/test_torch_ops.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
#
33
# Please refer to the license found in the LICENSE file in the root directory of the source tree.
44

5-
import sys
65
import platform
6+
import sys
77
import unittest
88

99
import coremltools as ct
@@ -17,10 +17,10 @@
1717
from executorch.runtime import Runtime
1818
from torchao.quantization import IntxWeightOnlyConfig, PerAxis, PerGroup, quantize_
1919

20-
_TEST_RUNTIME = (
21-
sys.platform == "darwin"
22-
and tuple(map(int, platform.mac_ver()[0].split("."))) >= (15, 0)
23-
)
20+
_TEST_RUNTIME = sys.platform == "darwin" and tuple(
21+
map(int, platform.mac_ver()[0].split("."))
22+
) >= (15, 0)
23+
2424

2525
class TestTorchOps(unittest.TestCase):
2626
edge_compile_config = executorch.exir.EdgeCompileConfig()

0 commit comments

Comments
 (0)