Skip to content

Commit 2863e48

Browse files
authored
Update numpy_functions_test.py
Fix E721
1 parent 915bc3f commit 2863e48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/syft/tests/syft/serde/numpy_functions_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def test_numpy_functions(func, func_arguments, request):
9191

9292
except Exception as e:
9393
assert (
94-
e == AttributeError
94+
e is AttributeError
9595
), f"Can not evaluate {func}({func_arguments}) with {e}"
9696
print(e)
9797
else:

0 commit comments

Comments
 (0)