From f013c633dfa6e0003bb216dced3372fab69261ec Mon Sep 17 00:00:00 2001 From: "Cui, Yifeng" Date: Tue, 9 Jul 2024 07:23:47 -0700 Subject: [PATCH] Small fix for FFT UT --- test/xpu/test_spectral_ops_xpu.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/xpu/test_spectral_ops_xpu.py b/test/xpu/test_spectral_ops_xpu.py index bfea9041c..bc60cf2ae 100644 --- a/test/xpu/test_spectral_ops_xpu.py +++ b/test/xpu/test_spectral_ops_xpu.py @@ -74,7 +74,7 @@ def _test_reference_1d(self, device, dtype, op): TestFFT.test_reference_1d = _test_reference_1d -instantiate_device_type_tests(TestFFT, globals(), only_for="xpu", allow_xpu=True) +instantiate_device_type_tests(TestFFT, globals(), only_for=("xpu"), allow_xpu=True) if __name__ == "__main__":