Skip to content
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

test: parametrize test_array_functions #678

Merged

Conversation

Michael-J-Ward
Copy link
Contributor

@Michael-J-Ward Michael-J-Ward commented May 11, 2024

Ref #671

Rationale for this change

All of the tests in test_functions.py are overloaded - representing many more than one test case.

What changes are included in this PR?

This cleans up test_array_functions, which becomes 62 different test cases.

test_array_functions now has 56 passing test cases and 1 expected failure (array_slice being the expected failure Ref #670).

test_array_function_flatten was broken out as a single test because it was an outlier in terms of test-input.

test_array_function_obj_tests had a different set of asserts, so was broken out for 4 test cases.

Are there any user-facing changes?

No

@Michael-J-Ward Michael-J-Ward force-pushed the parametrize-array-function-tests branch from e6bcab2 to d71c436 Compare May 13, 2024 17:25
@Michael-J-Ward Michael-J-Ward force-pushed the parametrize-array-function-tests branch from 6745313 to b872135 Compare May 15, 2024 02:55
test_array_functions now has 56 passing test cases and 1 expected failure (`array_slice` being the expected failure Ref apache#670).

test_array_function_flatten was broken out as a single test because it was an outlier in terms of test-input.

test_array_function_obj_tests had a different set of asserts, so was broken out for 5 test cases.

Ref apache#671
@Michael-J-Ward Michael-J-Ward force-pushed the parametrize-array-function-tests branch from b872135 to 85a703e Compare May 15, 2024 14:55
Copy link
Contributor

@timsaucer timsaucer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR looks straight forward and CI passes.

@Michael-J-Ward
Copy link
Contributor Author

@andygrove could we merge this?

@andygrove andygrove merged commit e029559 into apache:main May 23, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants