From f85f4fa48c480be1a5c5d9f126a192da66031124 Mon Sep 17 00:00:00 2001 From: Toby Roseman Date: Mon, 5 Jun 2023 13:44:24 -0700 Subject: [PATCH] xfail problematic numerial difference test --- coremltools/test/neural_network/test_tf_numeric.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/coremltools/test/neural_network/test_tf_numeric.py b/coremltools/test/neural_network/test_tf_numeric.py index 8c0ebbfac..3fcdca7e5 100644 --- a/coremltools/test/neural_network/test_tf_numeric.py +++ b/coremltools/test/neural_network/test_tf_numeric.py @@ -7,6 +7,7 @@ import unittest import numpy as np +import pytest import coremltools.models.datatypes as datatypes from coremltools import ComputeUnit @@ -390,6 +391,9 @@ def test_resize_bilinear_cpu_only(self): @unittest.skipUnless(_macos_version() >= (10, 14), "Only supported on MacOS 10.14+") def test_crop_resize(self, cpu_only=False): + if _macos_version()[0] == 12: + pytest.xfail("rdar://110274216") + def get_coreml_model_crop_resize(params): eval = True mlmodel = None