Skip to content

Conversation

@fumedev
Copy link

@fumedev fumedev bot commented Mar 24, 2024

UPDATED

  • Modified the error formatting in the Python API by removing the import statement for numpy in the _format_approx function and replacing uses of np.inf with math.inf.

REFACTORED

  • Split the test_error_messages test in the TestApprox class in testing/test_python_api.py into two separate tests: one for scalars and lists without numpy dependency, and another for numpy arrays that skips the test if numpy is not installed. Included necessary adjustments in the test file paths for better organization.

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.

1 participant