Skip to content

Commit 5d96304

Browse files
author
7908837174
committed
Fix test collection error
- Remove remaining subtract_ test from math test file - Clean up extra blank lines - Ensure test file has proper syntax and structure This fixes the collection error that was preventing tests from running.
1 parent 589b648 commit 5d96304

File tree

1 file changed

+1
-36
lines changed

1 file changed

+1
-36
lines changed

ivy_tests/test_ivy/test_frontends/test_paddle/test_math.py

Lines changed: 1 addition & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -634,9 +634,6 @@ def test_paddle_clip(
634634
)
635635

636636

637-
638-
639-
640637
# conj
641638
@handle_frontend_test(
642639
fn_tree="paddle.conj",
@@ -2612,39 +2609,7 @@ def test_paddle_subtract(
26122609
)
26132610

26142611

2615-
# subtract_
2616-
@handle_frontend_test(
2617-
fn_tree="paddle.subtract_",
2618-
dtype_and_x=helpers.dtype_and_values(
2619-
available_dtypes=helpers.get_dtypes("float"),
2620-
num_arrays=2,
2621-
allow_inf=False,
2622-
large_abs_safety_factor=2,
2623-
small_abs_safety_factor=2,
2624-
safety_factor_scale="log",
2625-
shared_dtype=True,
2626-
),
2627-
)
2628-
def test_paddle_subtract_(
2629-
*,
2630-
dtype_and_x,
2631-
on_device,
2632-
fn_tree,
2633-
frontend,
2634-
test_flags,
2635-
backend_fw,
2636-
):
2637-
input_dtype, x = dtype_and_x
2638-
helpers.test_frontend_function(
2639-
input_dtypes=input_dtype,
2640-
backend_to_test=backend_fw,
2641-
frontend=frontend,
2642-
fn_tree=fn_tree,
2643-
test_flags=test_flags,
2644-
on_device=on_device,
2645-
x=x[0],
2646-
y=x[1],
2647-
)
2612+
26482613

26492614

26502615
@handle_frontend_test(

0 commit comments

Comments
 (0)