Skip to content

correct isort for test numeric #51

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Apr 12, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
correct isort for test numeric
  • Loading branch information
syurkevi committed Apr 12, 2024
commit 6deefda9797db078f76958a0293a20c9fe163463
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
import ctypes

import arrayfire_wrapper.dtypes as dtype
import arrayfire_wrapper.lib as wrapper
from arrayfire_wrapper.defines import AFArray
from arrayfire_wrapper.dtypes import float32
from arrayfire_wrapper.lib._utility import binary_op, call_from_clib, unary_op
from arrayfire_wrapper.lib.create_and_modify_array.create_array import create_constant_array
from arrayfire_wrapper.lib.mathematical_functions.arithmetic_operations import sub


import arrayfire_wrapper.dtypes as dtype
import arrayfire_wrapper.lib as wrapper


def abs_(arr: AFArray, /) -> AFArray:
"""
source: https://arrayfire.org/docs/group__arith__func__abs.htm#ga7e8b3c848e6cda3d1f3b0c8b2b4c3f8f
2 changes: 1 addition & 1 deletion tests/test_numeric.py
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@

import arrayfire_wrapper.dtypes as dtype
import arrayfire_wrapper.lib as wrapper
from tests.utility_functions import check_type_supported, get_all_types, get_real_types, get_complex_types
from tests.utility_functions import check_type_supported, get_all_types, get_complex_types, get_real_types


@pytest.mark.parametrize(