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 clean up and add python 3.13 test feature #98

Merged
merged 6 commits into from
Jan 20, 2025

Conversation

adityagoel4512
Copy link
Member

@adityagoel4512 adityagoel4512 commented Jan 16, 2025

Here we are:

  • Cleaning up some tests (mostly removing redundant tests)
  • Dropping numpy 1.x tests and adding a py313 feature

Edit: I am going to retain the NumPy 1.x feature for the time being. We can drop it in line with https://scientific-python.org/specs/spec-0000/. We will also drop python 3.10 soon.

@adityagoel4512 adityagoel4512 changed the title Test clean up and drop numpy 1.x tests Test clean up and add python 3.13 test feature Jan 17, 2025
@@ -554,60 +554,6 @@ def test_all(x):
assert_array_equal(ndx.all(x).to_numpy(), np.all(x.to_numpy()))


@pytest.mark.parametrize(
Copy link
Contributor

Choose a reason for hiding this comment

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

Why are those tests redundant?

Copy link
Member Author

@adityagoel4512 adityagoel4512 Jan 17, 2025

Choose a reason for hiding this comment

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

See https://github.com/Quantco/ndonnx/blob/main/tests/test_additional.py#L15-L66 (note that the link is test_*additional*.py).

@adityagoel4512 adityagoel4512 merged commit fd54835 into Quantco:main Jan 20, 2025
19 checks passed
@adityagoel4512 adityagoel4512 deleted the test-cleanup-py313 branch January 20, 2025 14:55
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.

2 participants