Skip to content

Commit

Permalink
update unnecessary variable computation in testing_helpers.
Browse files Browse the repository at this point in the history
  • Loading branch information
CatB1t committed Jan 8, 2023
1 parent 9a44f10 commit 3f25062
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ivy_tests/test_ivy/helpers/testing_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,11 +305,11 @@ def handle_test(

def test_wrapper(test_fn):
callable_fn, fn_name, fn_mod = _import_fn(fn_tree)
param_names = inspect.signature(test_fn).parameters.keys()
supported_device_dtypes = _get_supported_devices_dtypes(fn_name, fn_mod)

# If a test is not a Hypothesis test, we only set the test global data
if is_hypothesis_test:
param_names = inspect.signature(test_fn).parameters.keys()
# Check if these arguments are being asked for
possible_arguments = {
"test_flags": test_flags,
Expand Down

0 comments on commit 3f25062

Please sign in to comment.