Skip to content

Commit 1285522

Browse files
committed
correct isort for test numeric
1 parent 2a68b8e commit 1285522

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

arrayfire_wrapper/lib/mathematical_functions/numeric_functions.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
import ctypes
22

3+
import arrayfire_wrapper.dtypes as dtype
4+
import arrayfire_wrapper.lib as wrapper
35
from arrayfire_wrapper.defines import AFArray
46
from arrayfire_wrapper.dtypes import float32
57
from arrayfire_wrapper.lib._utility import binary_op, call_from_clib, unary_op
68
from arrayfire_wrapper.lib.create_and_modify_array.create_array import create_constant_array
79
from arrayfire_wrapper.lib.mathematical_functions.arithmetic_operations import sub
810

911

10-
import arrayfire_wrapper.dtypes as dtype
11-
import arrayfire_wrapper.lib as wrapper
12-
13-
1412
def abs_(arr: AFArray, /) -> AFArray:
1513
"""
1614
source: https://arrayfire.org/docs/group__arith__func__abs.htm#ga7e8b3c848e6cda3d1f3b0c8b2b4c3f8f

tests/test_numeric.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
import arrayfire_wrapper.dtypes as dtype
77
import arrayfire_wrapper.lib as wrapper
8-
from tests.utility_functions import check_type_supported, get_all_types, get_real_types, get_complex_types
8+
from tests.utility_functions import check_type_supported, get_all_types, get_complex_types, get_real_types
99

1010

1111
@pytest.mark.parametrize(

0 commit comments

Comments
 (0)