From 43b0038419cbe4fdfe50adaf79288894a4736acb Mon Sep 17 00:00:00 2001 From: Akshay Venkataraman Date: Thu, 22 Jun 2023 15:32:52 +0530 Subject: [PATCH] lint errors --- ivy/functional/frontends/paddle/tensor/tensor.py | 6 ++---- .../test_paddle/test_tensor/test_paddle_tensor.py | 1 - 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/ivy/functional/frontends/paddle/tensor/tensor.py b/ivy/functional/frontends/paddle/tensor/tensor.py index df6e3cb4d1089..3ebb4b206f879 100644 --- a/ivy/functional/frontends/paddle/tensor/tensor.py +++ b/ivy/functional/frontends/paddle/tensor/tensor.py @@ -206,9 +206,7 @@ def sort(self, axis=-1, descending=False, name=None): ) def amax(self, axis=None, keepdim=False, name=None): return ivy.amax(self._ivy_array, axis=axis, keepdims=keepdim) - - @with_unsupported_dtypes( - {"2.4.2 and below": ("complex")}, "paddle" - ) + + @with_unsupported_dtypes({"2.4.2 and below": "complex"}, "paddle") def amin(self, axis=None, keepdim=False, name=None): return ivy.amin(self._ivy_array, axis=axis, keepdims=keepdim) diff --git a/ivy_tests/test_ivy/test_frontends/test_paddle/test_tensor/test_paddle_tensor.py b/ivy_tests/test_ivy/test_frontends/test_paddle/test_tensor/test_paddle_tensor.py index 2e3577157dc6c..ae77b1e533883 100644 --- a/ivy_tests/test_ivy/test_frontends/test_paddle/test_tensor/test_paddle_tensor.py +++ b/ivy_tests/test_ivy/test_frontends/test_paddle/test_tensor/test_paddle_tensor.py @@ -1179,4 +1179,3 @@ def test_paddle_amin( method_flags=method_flags, on_device=on_device, ) -